UI: revert popup height cap, fix UI on small screen for CreateCopy.svelte

This commit is contained in:
Pieter Vander Vennet 2025-07-08 13:12:06 +02:00
parent 621449f7a8
commit 22a6ad3eaa
3 changed files with 6 additions and 6 deletions

View file

@ -1766,10 +1766,6 @@ input[type="range"].range-lg::-moz-range-thumb {
height: 0.875rem; height: 0.875rem;
} }
.h-3\/4 {
height: 75%;
}
.h-32 { .h-32 {
height: 8rem; height: 8rem;
} }
@ -8424,6 +8420,10 @@ svg.apply-fill path {
width: auto; width: auto;
} }
.sm\:shrink-0 {
flex-shrink: 0;
}
.sm\:grid-cols-2 { .sm\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr));
} }

View file

@ -30,7 +30,7 @@
dialogClass += " h-full-child" dialogClass += " h-full-child"
} }
let bodyClass = 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" let headerClass = "flex justify-between items-center p-2 px-4 md:px-5 rounded-t-lg"
if (!$$slots.header) { if (!$$slots.header) {

View file

@ -135,7 +135,7 @@
</div> </div>
<div class="flex w-full justify-end"> <div class="flex w-full justify-end">
<NextButton clss="primary shrink-0" on:click={() => createCopy()}> <NextButton clss="primary sm:shrink-0" on:click={() => createCopy()}>
<DocumentDuplicate class="w-8 mx-2" /> <DocumentDuplicate class="w-8 mx-2" />
<Tr t={t.confirm} /> <Tr t={t.confirm} />