- 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>
79 lines
1.7 KiB
CSS
79 lines
1.7 KiB
CSS
.experimental-agent-onboarding-modal__textarea {
|
|
min-height: calc(var(--space-2xl) * 4);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-lg);
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-section h4 {
|
|
margin: 0;
|
|
color: var(--text);
|
|
font-size: calc(var(--space-md) + var(--space-xs) * 0.25);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-intro {
|
|
margin: var(--space-sm) 0;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-section p {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
margin: 0;
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-list > div {
|
|
display: grid;
|
|
gap: var(--space-sm);
|
|
grid-template-columns: minmax(0, calc(var(--space-xl) * 5)) minmax(0, 1fr);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-list dt {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-list dd {
|
|
margin: 0;
|
|
color: var(--text);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-empty {
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-block {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
@media (max-width: 768px), (max-height: 480px) {
|
|
.experimental-agent-onboarding-modal__textarea {
|
|
min-height: calc(var(--space-2xl) * 3);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary {
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.experimental-agent-onboarding-modal__summary-list > div {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--space-xs);
|
|
}
|
|
}
|