From 22a6ad3eaa20a9065c752c8573e55e58e66ce93c Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 8 Jul 2025 13:12:06 +0200 Subject: [PATCH] UI: revert popup height cap, fix UI on small screen for CreateCopy.svelte --- public/css/index-tailwind-output.css | 8 ++++---- src/UI/Base/Popup.svelte | 2 +- src/UI/Popup/AddNewPoint/CreateCopy.svelte | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/css/index-tailwind-output.css b/public/css/index-tailwind-output.css index 71b0e8608..468696b3b 100644 --- a/public/css/index-tailwind-output.css +++ b/public/css/index-tailwind-output.css @@ -1766,10 +1766,6 @@ input[type="range"].range-lg::-moz-range-thumb { height: 0.875rem; } -.h-3\/4 { - height: 75%; -} - .h-32 { height: 8rem; } @@ -8424,6 +8420,10 @@ svg.apply-fill path { width: auto; } + .sm\:shrink-0 { + flex-shrink: 0; + } + .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } diff --git a/src/UI/Base/Popup.svelte b/src/UI/Base/Popup.svelte index 9aab9c590..f5290107b 100644 --- a/src/UI/Base/Popup.svelte +++ b/src/UI/Base/Popup.svelte @@ -30,7 +30,7 @@ dialogClass += " h-full-child" } let bodyClass = - bodyPadding + " h-full max-h-leave-room space-y-4 flex-1 overflow-y-auto overscroll-contain background-normal" + bodyPadding + " h-full space-y-4 flex-1 overflow-y-auto overscroll-contain background-normal" let headerClass = "flex justify-between items-center p-2 px-4 md:px-5 rounded-t-lg" if (!$$slots.header) { diff --git a/src/UI/Popup/AddNewPoint/CreateCopy.svelte b/src/UI/Popup/AddNewPoint/CreateCopy.svelte index 117819521..f0a0eb0a0 100644 --- a/src/UI/Popup/AddNewPoint/CreateCopy.svelte +++ b/src/UI/Popup/AddNewPoint/CreateCopy.svelte @@ -135,7 +135,7 @@
- createCopy()}> + createCopy()}>