- Broaden mobile media query to include (max-height: 480px) so landscape phones (which exceed 768 CSS px wide) still render the bottom nav and mobile board layout instead of desktop horizontally-scrollable columns. - Guard useMobileKeyboard against pinch-zoom (vv.scale > 1) — Android Chrome ignores user-scalable=no, and a focused textarea + zoom was false-positiving keyboard-open and hiding MobileNavBar. - Read documentElement.clientHeight instead of stale window.innerHeight when computing keyboard overlap (Android multi-window can leave innerHeight cached at a wildly different value than the actual layout viewport — observed 2848 while html was 797). - Add interactive-widget=resizes-content to the viewport meta so Android Chrome shrinks the layout viewport with the soft keyboard, matching iOS. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
63 lines
1.2 KiB
CSS
63 lines
1.2 KiB
CSS
.duplicate-warning-modal {
|
|
max-width: min(100%, calc(var(--space-2xl) * 18));
|
|
}
|
|
|
|
.duplicate-warning-modal-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
padding: 0 var(--space-lg) var(--space-md);
|
|
}
|
|
|
|
.duplicate-warning-modal-copy {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.duplicate-warning-modal-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
max-height: calc(var(--space-2xl) * 8);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.duplicate-warning-modal-item {
|
|
cursor: default;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.duplicate-warning-modal-item-header {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.duplicate-warning-modal-score {
|
|
margin-left: auto;
|
|
border: var(--btn-border-width) solid var(--border);
|
|
border-radius: var(--radius-pill);
|
|
color: var(--text-muted);
|
|
font-size: 0.75rem;
|
|
padding: var(--space-xs) var(--space-sm);
|
|
}
|
|
|
|
.duplicate-warning-modal-title {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.duplicate-warning-modal-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
@media (max-width: 768px), (max-height: 480px) {
|
|
.duplicate-warning-modal {
|
|
width: 100%;
|
|
}
|
|
}
|