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

46 lines
844 B
CSS

.custom-provider-form {
display: flex;
flex-direction: column;
gap: var(--space-md);
}
.custom-provider-form__group {
padding: 0;
margin: 0;
}
.custom-provider-form__models {
display: flex;
flex-direction: column;
gap: var(--space-sm);
margin-bottom: var(--space-sm);
}
.custom-provider-form__model-row {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
gap: var(--space-sm);
align-items: center;
}
.custom-provider-form__toggle {
justify-content: flex-start;
}
.custom-provider-form__actions {
display: flex;
justify-content: flex-end;
gap: var(--space-sm);
}
@media (max-width: 768px), (max-height: 480px) {
.custom-provider-form__model-row {
grid-template-columns: 1fr;
}
.custom-provider-form__actions {
justify-content: stretch;
flex-direction: column;
}
}