Fix height

This commit is contained in:
Half-Shot
2024-11-14 12:42:48 +00:00
parent 01b0118206
commit a974b941df

View File

@@ -40,11 +40,15 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: var(--cpd-separator-spacing); gap: var(--cpd-separator-spacing);
max-height: 10em; /* Height of 3 rows plus padding. */
max-height: calc(
(
var(--reaction-button-size) + var(--reaction-button-padding) +
var(--cpd-separator-spacing)
) * 4
);
max-width: 22.5em; max-width: 22.5em;
overflow-y: auto; overflow-y: auto;
margin-left: auto;
margin-right: auto;
} }
.reactionButton { .reactionButton {