From b2178a54546a5399d8cabf93a7b162725be6084e Mon Sep 17 00:00:00 2001 From: wen <36833420+zhangshanwen@users.noreply.github.com> Date: Mon, 22 Jul 2024 16:16:37 +0800 Subject: [PATCH] fixed dialog height --- media/cropper.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media/cropper.go b/media/cropper.go index 96edcf2e0..eb5caa974 100644 --- a/media/cropper.go +++ b/media/cropper.go @@ -89,9 +89,10 @@ func loadImageCropper(mb *Builder) web.EventFunc { VCardText( c, ), - ).Height(500), + ), ).ModelValue(true). Scrollable(true). + Height(500). MaxWidth("800px"), ).Init(`{cropping: false}`).VSlot("{ locals: cropLocals}"), })