diff --git a/app/assets/stylesheets/common/d-editor.scss b/app/assets/stylesheets/common/d-editor.scss index 7775160bc2a..1958590858c 100644 --- a/app/assets/stylesheets/common/d-editor.scss +++ b/app/assets/stylesheets/common/d-editor.scss @@ -163,11 +163,12 @@ } .d-editor-preview .image-wrapper { + --resizer-height: 2.5em; position: relative; display: inline-block; + min-height: calc(var(--resizer-height) * 2); .button-wrapper { - --resizer-height: 2.5em; box-sizing: border-box; padding: 0.25em 0.5em; min-width: 19em; // wide enough to contain all controls