+ {/* All pill */}
- ))}
- {/* Categories pill + expandable chips */}
- {categories.length > 0 && (
- <>
+ {/* Pinned pill */}
+
+
+ {/* Extra pinned filters (e.g. "Umbral") */}
+ {extraPinnedFilters.map((epf) => (
+
+ ))}
+
+ {/* Categories pill */}
+ {categories.length > 0 && (
+ )}
-
- {/* "All" chip inside categories — non-draggable */}
- {onSelectAllCategories && (
-
- )}
-
- {/* Draggable category chips */}
-
-
- {categories.map((cat) => (
- onToggleCategory(cat)}
- />
- ))}
-
-
-
- >
- )}
-
- {/* Spacer */}
-
-
- {/* Search */}
-
-
-
onSearchChange(e.target.value)}
- className="w-52 h-8 pl-8 text-sm ring-inset"
- aria-label="Search"
- />
+ {/* Search */}
+
+
+
+ onSearchChange(e.target.value)}
+ className="w-28 sm:w-52 h-8 pl-8 text-sm ring-inset"
+ aria-label="Search"
+ />
+
+
+ {/* Expanded categories row — shows below on mobile, inline on desktop */}
+ {categories.length > 0 && otherOpen && (
+
+ {/* "All" chip inside categories — non-draggable */}
+ {onSelectAllCategories && (
+
+ )}
+
+ {/* Draggable category chips */}
+
+
+ {categories.map((cat) => (
+ onToggleCategory(cat)}
+ />
+ ))}
+
+
+
+ )}
);
}
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 87033c8..b0a5089 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -224,16 +224,54 @@ form[data-submitted] input:invalid + button {
}
+/* ── Global mobile content scaling ── */
+/* Scales down all page content text on mobile. Navbar and UMBRA title are excluded
+ because they live outside .mobile-scale and use their own sizing. */
+@media (max-width: 767px) {
+ .mobile-scale {
+ font-size: 0.8125rem; /* 13px base instead of 16px */
+ }
+ .mobile-scale h1 {
+ font-size: 1.375rem !important; /* 22px instead of 30px */
+ }
+ .mobile-scale h2 {
+ font-size: 1.125rem !important;
+ }
+ .mobile-scale .text-sm {
+ font-size: 0.6875rem; /* 11px */
+ }
+ .mobile-scale .text-xs {
+ font-size: 0.625rem; /* 10px — floor for readability */
+ }
+ .mobile-scale .text-lg {
+ font-size: 0.9375rem; /* 15px */
+ }
+ .mobile-scale .text-xl {
+ font-size: 1.0625rem; /* 17px */
+ }
+ .mobile-scale .text-2xl {
+ font-size: 1.1875rem; /* 19px */
+ }
+ .mobile-scale .text-3xl {
+ font-size: 1.375rem; /* 22px */
+ }
+}
+
/* ── FullCalendar mobile overrides ── */
@media (max-width: 767px) {
.fc .fc-daygrid-event {
- font-size: 0.65rem;
+ font-size: 0.6rem;
padding: 0 2px;
- line-height: 1.3;
+ line-height: 1.25;
+ }
+
+ /* Hide event times in month view on mobile — Google Calendar style */
+ .fc .fc-daygrid-event .fc-event-time {
+ display: none;
}
.fc .fc-timegrid-event {
- font-size: 0.65rem;
+ font-size: 0.6rem;
}
.fc .fc-timegrid-event .fc-event-main {
@@ -241,21 +279,21 @@ form[data-submitted] input:invalid + button {
}
.fc .fc-daygrid-day-number {
- font-size: 0.75rem;
+ font-size: 0.7rem;
padding: 2px 4px;
}
.fc .fc-col-header-cell-cushion {
- font-size: 0.7rem;
- padding: 4px 2px;
+ font-size: 0.65rem;
+ padding: 3px 2px;
}
.fc .fc-timegrid-slot-label {
- font-size: 0.65rem;
+ font-size: 0.6rem;
}
.fc .fc-daygrid-more-link {
- font-size: 0.6rem;
+ font-size: 0.55rem;
}
}
/* ── Ambient background animations ── */