Skip to content

Commit 88e84a0

Browse files
committed
style: apply fixed height to content modal, add missing spacing token on mobile
1 parent 2aa44cd commit 88e84a0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

static/css/v3/content-modal.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
gap: var(--space-large);
3030
width: 916px;
3131
max-width: calc(100vw - 2 * 54px);
32-
max-height: calc(100vh - 2 * var(--space-xl));
32+
height: min(700px, calc(100vh - 2 * var(--space-xl)));
3333
padding: var(--space-xlarge) 0;
3434
background-color: var(--color-surface-weak);
3535
border: 1px solid var(--color-stroke-weak);

static/css/v3/spacing.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
--space-medium: 8px;
3232
--space-large: 16px;
3333
--space-xl: 20px;
34+
--space-xlarge: 16px;
3435
--space-xxl: 48px;
3536
--space-avatar: 40px;
3637
--space-card: 12px;

0 commit comments

Comments
 (0)