diff --git a/index.html b/index.html index 00f1a61..2dcf41f 100644 --- a/index.html +++ b/index.html @@ -34,6 +34,33 @@ .animate-fade-out { animation: fadeOut 0.3s ease-out; } + /* Mobile-only quick add controls. These supplement Tailwind output so the FAB stays mobile-only even when CSS is not rebuilt. */ + #mobileQuickAddBtn { + display: none; + } + + @media (max-width: 767px) { + #mobileQuickAddBtn { + display: flex; + left: 1.5rem; + } + + #mobileQuickAddModal.flex { + align-items: flex-end; + padding: 0 0.75rem 0.75rem; + } + + #mobileQuickAddModal > div { + max-height: 92vh; + } + } + + @media (min-width: 768px) { + #mobileQuickAddModal, + #mobileQuickAddBtn { + display: none !important; + } + }