diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/style.scss | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/css/style.scss b/css/style.scss index 3e8be7259..18b8f125d 100644 --- a/css/style.scss +++ b/css/style.scss @@ -62,7 +62,6 @@ li.ProseMirror-selectednode:after { } .ProseMirror-tooltip .ProseMirror-menu { - width: -webkit-fit-content; width: fit-content; white-space: pre; } @@ -79,7 +78,6 @@ li.ProseMirror-selectednode:after { } .ProseMirror-menu-dropdown, .ProseMirror-menu-dropdown-menu { - font-size: 90%; white-space: nowrap; } @@ -111,7 +109,7 @@ li.ProseMirror-selectednode:after { position: absolute; background: white; color: #666; - border: 1px solid #aaa; + box-shadow: 0 0 3px var(--color-box-shadow); padding: 2px; } @@ -193,7 +191,7 @@ li.ProseMirror-selectednode:after { position: relative; } -.ProseMirror-icon { +.ProseMirror-icon, .ProseMirror-menu-dropdown-wrap { display: inline-block; line-height: .8; vertical-align: -2px; /* Compensate for padding */ @@ -205,6 +203,15 @@ li.ProseMirror-selectednode:after { } } +.ProseMirror-menu-dropdown-menu { + padding: 8px; + border-radius: 2px; + cursor: pointer; + .ProseMirror-menu-dropdown-item { + padding: 8px; + } +} + .ProseMirror-menu-disabled.ProseMirror-icon { cursor: default; } @@ -248,6 +255,7 @@ li.ProseMirror-selectednode:after { padding: 2px 10px; border: none; margin: 1em 0; + width: 100%; } .ProseMirror-example-setup-style hr:after { @@ -261,7 +269,9 @@ li.ProseMirror-selectednode:after { .ProseMirror ul, .ProseMirror ol { padding-left: 30px; } - +.ProseMirror ul li { + list-style-type: disc; +} .ProseMirror blockquote { padding-left: 1em; border-left: 3px solid #eee; |