A platform for community discussion. Free, open, simple.
UX: add min-height to preview image wrapper to give controls space (#27523)
Krise81b84c66ed4
diff --git a/app/assets/stylesheets/common/d-editor.scss b/app/assets/stylesheets/common/d-editor.scssindex 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