From 1201f7138ab9b97a357d7b620b524e6932736dc8 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 16 Jun 2025 19:24:42 +0300 Subject: [PATCH] style(next): slash commands layout --- .../src/stylesheets/theme-next/notes/text.css | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css index f7b9e3f51..0a259ed7f 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;