Skip to content

Commit

Permalink
fix css for creator filter in annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-lemeur committed Feb 4, 2025
1 parent 82cf3ec commit a9e7c80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/renderer/assets/styles/components/annotations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,13 @@
display: flex;
gap: 5px;
align-items: center;

a {
&:hover {
cursor: pointer;
text-decoration: underline;
}
}
}

svg {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/reader/components/ReaderMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ const AnnotationList: React.FC<{ annotationUUIDFocused: string, resetAnnotationU
aria-label={__("reader.annotations.filter.filterByCreator")}
style={{ marginBottom: "20px" }}
>
<details id="annotationListCreator">
<details id="annotationListCreator" open={!!selectCreatorOptions.length}>
<summary className={stylesAnnotations.annotations_filter_tagGroup} style={{ pointerEvents: !selectCreatorOptions.length ? "none" : "auto", opacity: !selectCreatorOptions.length ? "0.5" : "1" }}
tabIndex={!selectCreatorOptions.length ? -1 : 0}
>
Expand Down

0 comments on commit a9e7c80

Please sign in to comment.