fix: mobile bottom nav bar sizing and layout and capture queue input visible on mobile

This commit is contained in:
2026-03-01 22:10:00 +00:00
parent 21bbb169f9
commit c21cbf5e9b
3 changed files with 47 additions and 15 deletions

View File

@@ -369,6 +369,7 @@ a:hover { color: var(--accent-hover); }
.btn-sm { padding: 5px 10px; font-size: 0.8rem; }
.btn-xs { padding: 3px 8px; font-size: 0.75rem; }
.btn-capture { min-height: 44px; font-size: 0.95rem; padding: 10px 20px; }
/* ---- Cards ---- */
.card {
@@ -561,6 +562,7 @@ a:hover { color: var(--accent-hover); }
.form-input,
.form-select,
.form-textarea {
width: 100%;
font-family: var(--font-body);
font-size: 0.92rem;
padding: 9px 12px;
@@ -1029,13 +1031,20 @@ a:hover { color: var(--accent-hover); }
height: 56px;
background: var(--surface);
border-top: 1px solid var(--border);
z-index: 200;
z-index: 1000;
flex-direction: row;
align-items: center;
justify-content: space-around;
padding: 0 4px;
padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bottom-bar svg {
width: 24px;
height: 24px;
flex-shrink: 0;
}
.mobile-nav-item {
display: flex;
flex-direction: column;
@@ -1057,6 +1066,7 @@ a:hover { color: var(--accent-hover); }
.mobile-nav-item svg {
width: 24px;
height: 24px;
flex-shrink: 0;
}
.mobile-nav-item span {
@@ -1137,12 +1147,34 @@ a:hover { color: var(--accent-hover); }
/* ---- Responsive ---- */
@media (max-width: 768px) {
body { padding-bottom: 60px; }
.sidebar { display: none; }
.main-content { margin-left: 0; }
.form-grid { grid-template-columns: 1fr; }
.dashboard-grid { grid-template-columns: 1fr; }
.page-content { padding: 16px; padding-bottom: 72px; }
.mobile-bottom-bar { display: flex; }
/* Capture form mobile */
.capture-form-card { padding: 12px; }
.capture-form-card .form-textarea {
font-size: 16px; /* prevents iOS zoom */
min-height: 80px;
}
.capture-form-card .btn-capture {
width: 100%;
min-height: 44px;
font-size: 1rem;
}
/* Capture items stack on mobile */
.capture-item {
flex-direction: column;
gap: 8px;
}
.capture-actions {
flex-wrap: wrap;
}
}
.search-type-appointments { background: var(--amber-soft); color: var(--amber); }