UX: add min-height to preview image wrapper to give controls space (#27523)
This commit is contained in:
parent
5cb84f8dcf
commit
e81b84c66e
|
@ -163,11 +163,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.d-editor-preview .image-wrapper {
|
.d-editor-preview .image-wrapper {
|
||||||
|
--resizer-height: 2.5em;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
min-height: calc(var(--resizer-height) * 2);
|
||||||
|
|
||||||
.button-wrapper {
|
.button-wrapper {
|
||||||
--resizer-height: 2.5em;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0.25em 0.5em;
|
padding: 0.25em 0.5em;
|
||||||
min-width: 19em; // wide enough to contain all controls
|
min-width: 19em; // wide enough to contain all controls
|
||||||
|
|
Loading…
Reference in New Issue