mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(slash): layout on legacy theme
This commit is contained in:
parent
cce27900b8
commit
c4c7321f60
@ -1274,6 +1274,26 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
|
|||||||
white-space: normal !important;
|
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 {
|
.area-expander {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -202,28 +202,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Slash commands */
|
/* 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 {
|
.ck.ck-slash-command-button__text-part .ck.ck-button__label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ck.ck-slash-command-button__text-part .ck.ck-slash-command-button__description {
|
|
||||||
display: block;
|
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Separator */
|
/* Separator */
|
||||||
:root .ck .ck-list__separator {
|
:root .ck .ck-list__separator {
|
||||||
margin: .5em 0;
|
margin: .5em 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user