diff --git a/src/admin/components.css b/src/admin/components.css index 02d3e5a..e067eac 100644 --- a/src/admin/components.css +++ b/src/admin/components.css @@ -610,6 +610,25 @@ 0 0 0 1px var(--border-color); } +@media (max-width: 640px) { + .admin-tabs { + display: flex; + max-width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + scrollbar-width: none; + } + + .admin-tabs::-webkit-scrollbar { + display: none; + } + + .admin-tab { + flex: 0 0 auto; + min-height: 44px; + } +} + /* ============================================================================ Empty State ============================================================================ */ @@ -1185,3 +1204,14 @@ color: var(--text-secondary); white-space: nowrap; } + +@media (max-width: 640px) { + .admin-item-picker-list { + max-width: calc(100vw - 24px); + overflow-y: auto; + } + + .admin-item-picker-item { + min-height: 44px; + } +} diff --git a/src/admin/forms.css b/src/admin/forms.css index 102391e..51dc4a9 100644 --- a/src/admin/forms.css +++ b/src/admin/forms.css @@ -488,3 +488,23 @@ color: var(--text-tertiary); font-size: 0.8125rem; } + +@media (max-width: 640px) { + .admin-customer-dropdown { + max-width: calc(100vw - 24px); + overflow-y: auto; + } + + .admin-customer-dropdown-item { + display: flex; + flex-direction: column; + justify-content: center; + min-height: 44px; + } + + .admin-customer-selected .admin-btn-icon { + min-width: 44px; + min-height: 44px; + margin-right: -10px; + } +}