mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 01:48:21 +02:00
Merge pull request #938 from patriceac/patch-46
Make the image editor scrollable as needed
This commit is contained in:
commit
995bdc77b8
@ -149,16 +149,21 @@
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.image-editor-popup {
|
.image-editor-popup {
|
||||||
--popup-margin: 16px;
|
--popup-margin: 16px;
|
||||||
--popup-padding: 24px;
|
--popup-padding: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 700px) {
|
||||||
|
.image-editor-popup {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.image-editor-popup > div {
|
.image-editor-popup > div {
|
||||||
margin: var(--popup-margin);
|
margin: var(--popup-margin);
|
||||||
padding: var(--popup-padding);
|
padding: var(--popup-padding);
|
||||||
min-height: calc(100vh - (2 * var(--popup-margin)));
|
min-height: calc(99h - (2 * var(--popup-margin)));
|
||||||
max-width: none;
|
max-width: none;
|
||||||
min-width: fit-content;
|
min-width: fit-content;
|
||||||
}
|
}
|
||||||
@ -186,7 +191,7 @@
|
|||||||
|
|
||||||
|
|
||||||
.image-editor-popup > div > div {
|
.image-editor-popup > div > div {
|
||||||
min-height: calc(100vh - (2 * var(--popup-margin)) - (2 * var(--popup-padding)));
|
min-height: calc(99vh - (2 * var(--popup-margin)) - (2 * var(--popup-padding)));
|
||||||
}
|
}
|
||||||
|
|
||||||
.inpainter .image_editor_color {
|
.inpainter .image_editor_color {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user