Skip to content

Build your personal knowledge base with Trilium Notes

style(next)/action buttons: fix a bug

Adorian Doran8c06175c523e
diff --git a/apps/client/src/stylesheets/theme-next/forms.css b/apps/client/src/stylesheets/theme-next/forms.css
index c83b70522e..446c9b89c2 100644
--- a/apps/client/src/stylesheets/theme-next/forms.css
+++ b/apps/client/src/stylesheets/theme-next/forms.css
@@ -110,7 +110,7 @@ button.btn.btn-success kbd {
:root .icon-action:not(.global-menu-button)::before,
:root .tn-tool-button::before {
display: block;
- line-height: var(--icon-button-size);
+ line-height: 1;
font-size: calc(var(--icon-button-size) * var(--icon-button-icon-ratio));
}