diff options
-rw-r--r-- | css/style.scss | 10 | ||||
-rw-r--r-- | src/components/Editor.vue | 3 |
2 files changed, 9 insertions, 4 deletions
diff --git a/css/style.scss b/css/style.scss index ca43c5ded..df5b00c09 100644 --- a/css/style.scss +++ b/css/style.scss @@ -72,6 +72,7 @@ li.ProseMirror-selectednode:after { margin-right: 3px; padding: 4px; display: inline-block; + vertical-align: top; } .ProseMirror-menuseparator { @@ -104,7 +105,7 @@ li.ProseMirror-selectednode:after { border-top: 4px solid currentColor; opacity: .6; position: absolute; - right: 4px; + right: 9px; top: calc(50% - 2px); } @@ -135,6 +136,10 @@ li.ProseMirror-selectednode:after { margin-right: -4px; } +.ProseMirror-menu-submenu-label { + padding-right: 20px; +} + .ProseMirror-menu-submenu-label:after { content: ""; border-top: 4px solid transparent; @@ -200,7 +205,6 @@ li.ProseMirror-selectednode:after { .ProseMirror-icon, .ProseMirror-menu-dropdown-wrap { display: inline-block; line-height: .8; - vertical-align: -2px; /* Compensate for padding */ border-radius: 2px; cursor: pointer; &:hover, &:focus { @@ -210,6 +214,8 @@ li.ProseMirror-selectednode:after { .ProseMirror-icon, .Prosemirror-menu-dropdown { padding: 8px; + width: 34px; + text-align: center; } .ProseMirror-menu-dropdown-menu { diff --git a/src/components/Editor.vue b/src/components/Editor.vue index 0e6c3c289..955681320 100644 --- a/src/components/Editor.vue +++ b/src/components/Editor.vue @@ -343,7 +343,6 @@ #editor { height: 100%; - overflow-y: scroll; } .msg.error { @@ -367,7 +366,7 @@ top: 0; right: 0; z-index: 100; - padding: 3px; + padding: 6px; display: flex; input, div { |