From 3575389d971a6a875a6b2c015f59890e69d0cfbe Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Tue, 10 Dec 2024 09:53:51 +0100 Subject: [PATCH] overwrites default values for `min-width` and `min-height` --- wcfsetup/install/files/style/ui/dialog.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/style/ui/dialog.scss b/wcfsetup/install/files/style/ui/dialog.scss index c573f0ab76..cca59d6c5b 100644 --- a/wcfsetup/install/files/style/ui/dialog.scss +++ b/wcfsetup/install/files/style/ui/dialog.scss @@ -469,6 +469,9 @@ html[data-color-scheme="dark"] .dialog::backdrop { .dialog cropper-canvas { margin-left: auto; margin-right: auto; + /* overwrites the default values of `min-height: 100px` and `min-width: 200px` */ + min-height: 1px; + min-width: 1px; } /* If the height of the image is many times greater than the width, a white area would be displayed at the bottom and/or top. */ -- 2.20.1