From: Aleksander Grygier Date: Mon, 29 Sep 2025 08:37:20 +0000 (+0200) Subject: Improve Mobile UI for dialogs and action dropdowns (#16222) X-Git-Tag: upstream/0.0.6641~15 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=3a2bdcda0b31e51db954551e0cd49424133a84f3;p=pkg%2Fggml%2Fsources%2Fllama.cpp Improve Mobile UI for dialogs and action dropdowns (#16222) * fix: Always show conversation item actions * feat: Improve Alert Dialog and Dialog mobile UI * feat: Add settings reset to default confirmation * fix: Close Edit dialog on save * chore: update webui build output * webui: implement proper z-index system and scroll management - Add CSS variable for centralized z-index control - Fix dropdown positioning with Settings dialog conflicts - Prevent external scroll interference with proper event handling - Clean up hardcoded z-index values for maintainable architecture * webui: ensured the settings dialog enforces dynamic viewport height on mobile while retaining existing desktop sizing overrides * feat: Use `dvh` instead of computed px height for dialogs max height on mobile * chore: update webui build output * feat: Improve Settings fields UI * chore: update webui build output * chore: update webui build output --------- Co-authored-by: Pascal --- diff --git a/tools/server/public/index.html.gz b/tools/server/public/index.html.gz index c02b55f5..c1e6841d 100644 Binary files a/tools/server/public/index.html.gz and b/tools/server/public/index.html.gz differ diff --git a/tools/server/webui/src/app.css b/tools/server/webui/src/app.css index a9ac80ab..c7431993 100644 --- a/tools/server/webui/src/app.css +++ b/tools/server/webui/src/app.css @@ -39,6 +39,7 @@ --sidebar-ring: oklch(0.708 0 0); --code-background: oklch(0.225 0 0); --code-foreground: oklch(0.875 0 0); + --layer-popover: 1000000; } .dark { diff --git a/tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte b/tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte index ebe86c9c..2099536d 100644 --- a/tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte +++ b/tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte @@ -362,7 +362,8 @@
@@ -441,7 +442,7 @@
- +