Skip to content

Build your personal knowledge base with Trilium Notes

style(next): slash commands layout

Elian Doran1201f7138ab9
diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css
index f7b9e3f51c..0a259ed7f8 100644
--- a/apps/client/src/stylesheets/theme-next/notes/text.css
+++ b/apps/client/src/stylesheets/theme-next/notes/text.css
@@ -201,6 +201,29 @@
color: var(--menu-item-icon-color);
}
+/* Slash commands */
+.ck.ck-slash-command-button {
+ padding: 0.5em 1em !important;
+}
+
+.ck.ck-slash-command-button__text-part {
+ margin-left: 0.5em;
+ line-height: 1.2em !important;
+}
+
+.ck.ck-slash-command-button__text-part > span {
+ line-height: inherit !important;
+}
+
+.ck.ck-slash-command-button__text-part .ck.ck-button__label {
+ font-weight: bold;
+}
+
+.ck.ck-slash-command-button__text-part .ck.ck-slash-command-button__description {
+ display: block;
+ opacity: 0.8;
+}
+
/* Separator */
:root .ck .ck-list__separator {
margin: .5em 0;