fix: link windows height

This commit is contained in:
2026-10-24 19:55:54 +02:00
parent 48547d1b4a
commit 31eeb96008
4 changed files with 85 additions and 21 deletions
@@ -6,11 +6,9 @@
display: flex;
align-items: center;
justify-content: center;
padding: var(--space-5);
padding: var(--space-4);
background: rgba(0, 0, 0, 0.5);
animation: link-channels-fade-in var(--dur-base) var(--ease-standard);
}
@@ -27,9 +25,11 @@
width: 100%;
max-width: 480px;
max-height: 90vh;
overflow-y: auto;
user-select: none;
-webkit-user-select: none;
animation: link-channels-scale-in var(--dur-base) var(--ease-standard);
}
@@ -44,8 +44,10 @@
}
}
/* Header (matches miscellaneous section header) */
.link-channels-modal__header {
margin-bottom: var(--space-4);
margin-bottom: var(--space-3);
}
.link-channels-modal__header h2 {
@@ -64,13 +66,20 @@
color: var(--text-muted);
}
/* Mode toggle */
/* Mode toggle (fixed control height, matches miscellaneous controls) */
.link-channels-modal__mode-toggle {
display: inline-flex;
align-items: stretch;
height: var(--card-control-height);
min-height: var(--card-control-height);
max-height: var(--card-control-height);
box-sizing: border-box;
flex-shrink: 0;
padding: var(--space-1);
margin-bottom: var(--space-5);
margin-bottom: var(--space-3);
background: var(--bg-panel);
border: var(--border-width) solid var(--border-hairline);
@@ -78,7 +87,11 @@
}
.link-channels-modal__mode-btn {
padding: var(--space-2) var(--space-4);
display: flex;
align-items: center;
justify-content: center;
padding: 0 var(--space-4);
background: transparent;
color: var(--text-muted);
@@ -86,7 +99,7 @@
border: none;
border-radius: var(--radius-sm);
font-family: var(--font-ui);
font-family: var(--font-mono);
font-size: var(--font-sm);
font-weight: var(--font-weight-semibold);
@@ -108,7 +121,7 @@
display: grid;
gap: var(--space-1);
margin-bottom: var(--space-5);
margin-bottom: 0;
}
.link-matrix__corner {
@@ -137,7 +150,10 @@
.link-matrix__cell {
aspect-ratio: 1 / 1;
min-width: 32px;
width: 24px;
height: 24px;
min-width: 0;
justify-self: center;
border-radius: var(--radius-sm);
}
@@ -196,16 +212,26 @@
border-color: var(--border-hairline);
}
/* Footer actions */
/* Footer actions (matches miscellaneous actions) */
.link-channels-modal__actions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: var(--space-3);
margin-top: var(--space-2);
}
/* Mobile */
@media (max-width: 600px) {
.link-matrix__cell {
min-width: 26px;
}
}
.link-channels-modal__actions {
justify-content: flex-start;
flex-wrap: wrap;
}
}