Skip to content

Commit

Permalink
Tweak max-height
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmoroz committed Dec 20, 2024
1 parent a41d20e commit 3b3c7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/Demo/Demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
.DemoCodeBlockViewport {
/* Prevent Chrome/Safari page navigation gestures when scrolling horizontally */
overscroll-behavior-x: contain;
max-height: calc(23.75lh + 0.5rem);
max-height: clamp(8.75lh + 0.5rem, 80vh, 23.75lh + 0.5rem);

&[data-closed] {
overflow: hidden;
Expand Down

0 comments on commit 3b3c7d8

Please sign in to comment.