Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/WELLMS-292 #299

Merged
merged 4 commits into from
Aug 10, 2023
Merged

fix/WELLMS-292 #299

merged 4 commits into from
Aug 10, 2023

Conversation

SzymonMrzyglod
Copy link
Contributor

Fix in bookmarks and notes component

Comment on lines +86 to +93
& > div {
transition: 0.3s;
}
&:hover {
& > div {
transform: scale(1.02);
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jak się da to warto tego diva zrobić z klasą albo jako osobny SC

Comment on lines +60 to +75
& > span {
font-weight: ${({ $isActive }) => ($isActive ? "bold" : "normal")};
${basicColorStyle}
& > svg {
fill: ${({ theme, $isActive }) =>
$isActive
? theme.white
: getStylesBasedOnTheme(
theme.mode,
theme.dm__outlineButtonColor,
theme.outlineButtonColor,
theme.primaryColor
)};
}
}
`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tutaj też, jak się da klasę to po klasie albo osobny SC. W komponentach chyba klas używali częściej niż robienia osobnego SC. Chyba że to span z jakiejś libki i nie ma klasy to nie było tematu

@SzymonMrzyglod SzymonMrzyglod merged commit e4f73b2 into main Aug 10, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants