Files
fusion/packages/dashboard/app/components/WorktrunkInstallApprovalDetails.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

40 lines
825 B
CSS

.worktrunk-install-approval-details {
margin-bottom: var(--space-md);
padding: var(--space-md);
}
.worktrunk-install-approval-details__title {
margin: 0 0 var(--space-sm) 0;
color: var(--text);
font-size: 0.875rem;
}
.worktrunk-install-approval-details__list {
margin: 0;
display: grid;
gap: var(--space-xs);
}
.worktrunk-install-approval-details__row {
display: grid;
grid-template-columns: minmax(0, auto) minmax(0, 1fr);
gap: var(--space-sm);
}
.worktrunk-install-approval-details__row dt {
color: var(--text-muted);
font-weight: 600;
}
.worktrunk-install-approval-details__row dd {
margin: 0;
color: var(--text);
overflow-wrap: anywhere;
}
@media (max-width: 768px), (max-height: 480px) {
.worktrunk-install-approval-details__row {
grid-template-columns: minmax(0, 1fr);
}
}