Skip to content

Commit 346ea99

Browse files
Devyani JainCopilot
andcommitted
fix: view variant hugs content with max-height cap + inner scroll
- bottom: auto so box height follows content - max-height caps at full panel height so it never overflows - contentBar overflow-y:auto handles scrolling when content is long Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
1 parent 148f12d commit 346ea99

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

components.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,8 @@
544544
}
545545

546546
#viewVariant {
547+
bottom: auto; /* hug content height */
548+
max-height: calc(100% - var(--padding-md) * 2); /* cap at full panel */
547549
}
548550

549551
/* ── Action Bar ── */

0 commit comments

Comments
 (0)