forked from MapComplete/MapComplete
UI: revert popup height cap, fix UI on small screen for CreateCopy.svelte
This commit is contained in:
parent
621449f7a8
commit
22a6ad3eaa
3 changed files with 6 additions and 6 deletions
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -135,7 +135,7 @@
|
|||
</div>
|
||||
|
||||
<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" />
|
||||
<Tr t={t.confirm} />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue