mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:55:54 +08:00
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 {
|
||||
--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
|
||||
|
|
Loading…
Reference in New Issue
Block a user