Files
fusion/packages/dashboard/app/components/StashConflictModal.css
gsxdsm ed4d021d3d fix(dashboard): keep mobile nav visible on Android landscape and during keyboard
- 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>
2026-05-22 13:12:36 -07:00

72 lines
1.3 KiB
CSS

.stash-conflict-modal {
display: flex;
flex-direction: column;
gap: var(--space-md);
}
.stash-conflict-modal__summary {
margin: 0;
color: var(--text);
}
.stash-conflict-modal__stash-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-sm);
padding: var(--space-sm);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--surface);
}
.stash-conflict-modal__list {
display: flex;
flex-direction: column;
gap: var(--space-sm);
}
.stash-conflict-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-sm);
padding: var(--space-sm);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--card);
}
.stash-conflict-row__path {
color: var(--text);
word-break: break-word;
}
.stash-conflict-row__actions {
display: flex;
flex-wrap: wrap;
gap: var(--space-xs);
}
.stash-conflict-modal__hint {
margin: 0;
color: var(--text-muted);
}
.stash-conflict-modal__error {
margin: 0;
color: var(--color-error);
}
@media (max-width: 768px), (max-height: 480px) {
.stash-conflict-row {
align-items: flex-start;
flex-direction: column;
}
.stash-conflict-row__actions {
width: 100%;
flex-direction: column;
}
}