Skip to content

Build your personal knowledge base with Trilium Notes

style/inline title: handle empty icons when the icon selection is disabled

Adorian Doranc31f35dbd79c
diff --git a/apps/client/src/widgets/note_icon.css b/apps/client/src/widgets/note_icon.css
index 43709b715f..ebf637df18 100644
--- a/apps/client/src/widgets/note_icon.css
+++ b/apps/client/src/widgets/note_icon.css
@@ -98,7 +98,7 @@ body.experimental-feature-new-layout {
}
/* The background circle */
- &::after {
+ &:not(.bx-empty:disabled)::after {
content: "";
position: absolute;
inset: 0;
@@ -106,12 +106,6 @@ body.experimental-feature-new-layout {
background: var(--note-icon-button-background-color);
}
-
- &:hover::after {
- background: var(--note-icon-button-hover-background-color);
- transition: background 200ms ease-out;
- }
-
&:focus-visible {
outline: 2px solid var(--note-icon-button-color);
}