diff --git a/src/components/AccessibilityPanel.tsx b/src/components/AccessibilityPanel.tsx index 086ba67..faf5ecc 100644 --- a/src/components/AccessibilityPanel.tsx +++ b/src/components/AccessibilityPanel.tsx @@ -93,7 +93,7 @@ export default function AccessibilityPanel() { } return ( -
+
{SITE_BANNER.content.map((part, i) => { if (!part.href) return {part.text}; return part.external ? ( @@ -53,7 +53,7 @@ export default function Banner() { diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index a1cc27e..a2e48f9 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -34,11 +34,12 @@ const Footer_Links = [ const footerLinkClass = "text-white/65 hover:text-[#9cc47c] text-sm transition-colors"; +// inline-block with a little height of its own, so a finger can hit it. const pageLinkClass = - "text-white/80 hover:text-[#9cc47c] text-sm font-semibold transition-colors"; + "inline-block py-1 text-white/80 hover:text-[#9cc47c] text-sm font-semibold transition-colors"; const sectionLinkClass = - "text-white/65 hover:text-[#9cc47c] text-sm transition-colors"; + "inline-block py-1 text-white/65 hover:text-[#9cc47c] text-sm transition-colors"; const headingClass = "text-white/90 text-sm font-semibold mb-4"; @@ -92,7 +93,7 @@ export default function Footer() { {sections.length > 0 && ( -
+ {/* On a phone the time sits on its own line above the entry, + leaving the title the full width. */} +
{entry.time}
@@ -131,7 +133,7 @@ function Entry({ entry, accent }: { entry: ContentBlockItem; accent: string }) { aria-expanded={open} aria-controls={panelId} aria-label={open ? `Less about ${entry.text}` : `More about ${entry.text}`} - className="h-8 w-8 shrink-0 btn border text-sm transition-colors hover:bg-tint" + className="h-10 w-10 shrink-0 btn border text-sm transition-colors hover:bg-tint" style={{ borderColor: `${withAlpha(accent, 33)}`, color: accentText(accent) }} >{group.name}
+{group.name}
{group.location_label}
@@ -494,12 +494,12 @@ function GroupCard({ group, color, open, onOpen }) { detail panel in place, the arrow leaves for the group's own page. Keeping them distinct beats one control that does different things depending on where you click. */} -