Skip to content

Build your personal knowledge base with Trilium Notes

fix(templates): description displayed on separate lines

Elian Doran374309a40c03
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 38514e8adb..9b83c37fe2 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1280,16 +1280,19 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
padding: 0.5em 1em !important;
}
-.ck.ck-slash-command-button__text-part {
+.ck.ck-slash-command-button__text-part,
+.ck.ck-template-form__text-part {
margin-left: 0.5em;
line-height: 1.2em !important;
}
-.ck.ck-slash-command-button__text-part > span {
+.ck.ck-slash-command-button__text-part > span,
+.ck.ck-template-form__text-part > span {
line-height: inherit !important;
}
-.ck.ck-slash-command-button__text-part .ck.ck-slash-command-button__description {
+.ck.ck-slash-command-button__text-part .ck.ck-slash-command-button__description,
+.ck.ck-template-form__text-part .ck-template-form__description {
display: block;
opacity: 0.8;
}