fix: broken max height
This commit is contained in:
1 parent
209641ede9
commit
d51673a5c2
1 file changed
+2
-2
@@ -15,7 +15,7 @@
|
|||||||
if (panel) {
|
if (panel) {
|
||||||
if (top) {
|
if (top) {
|
||||||
if (content) return '!pt-20'
|
if (content) return '!pt-20'
|
||||||
else return 'top-16'
|
else return 'top-16 max-h-[calc(100vh-4rem)]'
|
||||||
} else return '!pb-20'
|
} else return '!pb-20'
|
||||||
} else {
|
} else {
|
||||||
if (!content) return ''
|
if (!content) return ''
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
/>
|
/>
|
||||||
<slot
|
<slot
|
||||||
name="suffix"
|
name="suffix"
|
||||||
class="max-xl:hidden w-full sticky top-0 left-0 h-max bg-slate-50 dark:bg-zinc-950 z-40 {sidePadding}"
|
class="max-xl:hidden w-full sticky top-0 left-0 max-h-screen bg-slate-50 dark:bg-zinc-950 z-40 {sidePadding}"
|
||||||
style="grid-area: suffix;"
|
style="grid-area: suffix;"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user