Skip to content

Commit 09b1bb4

Browse files
committed
fix: modal height jankiness
1 parent bc8b929 commit 09b1bb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ui/src/components/modal/TabbedModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ defineExpose({ show, hide, selectedTab, setTab })
121121

122122
<div
123123
ref="scrollContainer"
124-
class="min-w-[400px] h-[500px] overflow-y-auto px-6"
124+
class="min-w-[500px] overflow-y-auto px-6 h-screen max-h-[min(70vh,750px)]"
125125
@scroll="checkScrollState"
126126
>
127127
<Suspense>

packages/ui/src/layouts/shared/server-settings/pages/properties.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="relative h-full w-full select-none">
2+
<div class="relative h-screen w-full select-none max-h-[min(70vh,750px)]">
33
<div v-if="propsData" class="flex h-full w-full flex-col justify-between gap-4">
44
<Admonition
55
v-if="hasNoProperties"

0 commit comments

Comments
 (0)