chore: improve UI flow and add i18n

This commit is contained in:
nivedin
2023-11-09 14:07:56 +05:30
committed by Andrew Bastin
parent 1896e5afe1
commit f8aeb42da5
7 changed files with 55 additions and 29 deletions

View File

@@ -22,6 +22,7 @@
--lower-tertiary-sticky-fold: 7.125rem;
--lower-fourth-sticky-fold: 9.188rem;
--sidebar-primary-sticky-fold: 2rem;
--properties-primary-sticky-fold: 2.05rem;
}
@mixin dark-theme {

View File

@@ -59,7 +59,7 @@
</div>
<div
class="flex flex-col overflow-y-auto max-h-[55vh]"
:class="{ 'p-4': !fullWidth }"
:class="{ 'p-4': !fullWidth && !fullWidthBody }"
>
<slot name="body"></slot>
</div>
@@ -117,6 +117,7 @@ withDefaults(
dimissible: boolean
placement: string
fullWidth: boolean
fullWidthBody: boolean
styles: string
closeText: string | null
}>(),
@@ -126,6 +127,7 @@ withDefaults(
dimissible: true,
placement: "top",
fullWidth: false,
fullWidthBody: false,
styles: "sm:max-w-lg",
closeText: null,
}