mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 18:17:56 -05:00
fix: a long confirm dialog on a phone hides its Confirm and Cancel buttons (#35419)
When a function or tool asked for confirmation or input with a message longer than the screen, the dialog was cut at the screen height and could not be scrolled, so its Confirm and Cancel buttons were out of reach. The dialog now scrolls, the way the bottom sheet already does. Fixes #35414
This commit is contained in:
1 parent
0d71ed03bb
commit
9f7baf5540
1 file changed
+1
-1
@@ -160,7 +160,7 @@
|
||||
aria-modal="true"
|
||||
aria-label={title !== '' ? title : $i18n.t('Confirm your action')}
|
||||
tabindex="-1"
|
||||
class="m-auto max-w-full w-[32rem] mx-2 bg-base-0 dark:bg-base-950 rounded-3xl max-h-[100dvh] shadow-3xl border border-base-0 dark:border-base-900"
|
||||
class="m-auto max-w-full w-[32rem] mx-2 bg-base-0 dark:bg-base-950 rounded-3xl max-h-[100dvh] overflow-y-auto scrollbar-hidden shadow-3xl border border-base-0 dark:border-base-900"
|
||||
in:flyAndScale
|
||||
on:mousedown={(e) => {
|
||||
e.stopPropagation();
|
||||
|
||||
Reference in new issue
Block a user