fix(slash): layout on legacy theme

This commit is contained in:
Elian Doran 2025-06-16 23:06:34 +03:00
parent cce27900b8
commit c4c7321f60
No known key found for this signature in database
2 changed files with 20 additions and 18 deletions

View File

@ -1274,6 +1274,26 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
white-space: normal !important;
}
/* 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-slash-command-button__description {
display: block;
opacity: 0.8;
}
.area-expander {
display: flex;
flex-direction: row;

View File

@ -202,28 +202,10 @@
}
/* 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;