- 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>
69 lines
1.5 KiB
CSS
69 lines
1.5 KiB
CSS
.native-shell-connection-manager {
|
|
width: min(100%, 42rem);
|
|
}
|
|
|
|
.native-shell-connection-manager__mode-row {
|
|
display: flex;
|
|
gap: var(--space-sm);
|
|
padding: 0 var(--space-xl) var(--space-md);
|
|
}
|
|
|
|
.native-shell-connection-manager__profiles {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
padding: 0 var(--space-xl);
|
|
max-height: 16rem;
|
|
overflow: auto;
|
|
}
|
|
|
|
.native-shell-connection-manager__profile {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.native-shell-connection-manager__profile-actions {
|
|
display: inline-flex;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.native-shell-connection-manager__editor {
|
|
padding-top: var(--space-lg);
|
|
}
|
|
|
|
.native-shell-connection-manager__empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.native-shell-connection-manager__active-pill {
|
|
display: inline-flex;
|
|
margin-top: var(--space-xs);
|
|
padding: 0 var(--space-sm);
|
|
border-radius: var(--radius-pill);
|
|
color: var(--text);
|
|
background: var(--status-done-bg);
|
|
}
|
|
|
|
.native-shell-connection-manager__delete-confirm {
|
|
margin: 0 var(--space-xl);
|
|
padding: var(--space-md);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: color-mix(in srgb, var(--color-warning) 8%, transparent);
|
|
}
|
|
|
|
@media (max-width: 768px), (max-height: 480px) {
|
|
.native-shell-connection-manager__profile {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.native-shell-connection-manager__mode-row {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|