Skip to content

Build your personal knowledge base with Trilium Notes

style(next): icon buttons: keep the button highlighted while the dropdown is open

Adorian Doranf2f0bf3e10b4
diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.css
index bac35a6f77..12c7f06afd 100644
--- a/src/public/stylesheets/theme-next/forms.css
+++ b/src/public/stylesheets/theme-next/forms.css
@@ -95,7 +95,8 @@ button.btn.btn-success kbd {
font-size: calc(var(--icon-button-size) * var(--icon-button-icon-ratio));
}
-:root .icon-action:not(.global-menu-button):hover {
+:root .icon-action:not(.global-menu-button):hover,
+:root .icon-action:not(.global-menu-button).show {
background: var(--icon-button-hover-background);
color: var(--icon-button-hover-color);
}