-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bibdk2021 1324 bookmark work part2 #879
base: main
Are you sure you want to change the base?
Conversation
display: block; | ||
} | ||
|
||
.active i svg path { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nu har vi den opsætning vi nu engang har. Man kan undgå denne lidt grimme css selector hvis man opretter svg'en som et react component, og sætter stroke og path til "currentColor" - så kan farven styres af css "color".
Da vi ikke har gjort dette før, så lad det ligge.
Du kunne evt spare "i" selector ved at give Icon dit classname istedet for at styre det med en parent.
stroke: var(--blue); | ||
} | ||
|
||
.dropdownitem:focus i svg { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kunne spare nogle linjer ved at duplikere selectore. Fx
.dropdownitem:hover i svg, .dropdownitem:focus i svg { display: block; }
Så længe det er den samme styling der skal applies
await setBookmark(item); | ||
const onSelect = (material, workId) => { | ||
const item = { | ||
key: workId + material, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skal key ikke også bruge material[0] ?
* bug fixes (#883) * bug fixes * headerrow * space * init * to page * working populate * bookmark layout * checkbox functionality * disable logic * polish of layout * cleanup * translations --------- Co-authored-by: Yousef <[email protected]>
…dk-next-frontend into feature-bookmark
* orderhistory data consent modal * mutate * clean up * fixed translate
No description provided.