Skip to content

Commit 2086df8

Browse files
committed
cap at max 15 visible features
1 parent 68909d9 commit 2086df8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/browser-sdk/src/toolbar/Toolbar.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,12 @@
9999
z-index: 999999;
100100
min-width: 200px;
101101
padding: 0;
102-
max-height: calc(100vh - 36px - 35px);
102+
103+
--visible-features: 15;
104+
max-height: min(
105+
calc(100vh - 36px - 35px),
106+
calc(45px + (var(--visible-features) * 27px))
107+
);
103108

104109
&[open] {
105110
display: flex;

0 commit comments

Comments
 (0)