Mobile: community map, cards, schedule, stats, banner, tap targets
- The community map keeps a readable size on a phone and scrolls sideways in its own box; group cards wrap their controls under the name, with smaller logos and 40px buttons; group details likewise. - Org list cards, the stats numbers and the front page timeline rail cards size down on phones (the stats band unchanged from sm up). - Schedule entries put the time on its own line on a phone; 40px fold-out toggles. - The banner gives its text the room on a phone, with a 40px dismiss button. - Email addresses may break anywhere (one rule for every mailto: link), so a long one can't push past the screen. - Footer site-map links, the arrow links and the accessibility panel's close button are larger targets; the open accessibility panel sits above the privacy notice; the timeline's "still to come" list reads in full on touch screens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a907a47c24
commit
8d319bcaaa
11 changed files with 62 additions and 39 deletions
|
|
@ -44,14 +44,14 @@ function OrgCard({ org, accent, pageLabel, siteLabel }) {
|
|||
|
||||
return (
|
||||
<div
|
||||
className="p-6 h-full flex flex-col transition-transform duration-200 hover:scale-[1.01]"
|
||||
className="p-4 sm:p-6 h-full flex flex-col transition-transform duration-200 hover:scale-[1.01]"
|
||||
style={{ border: `1px solid ${color}`, background: "var(--color-surface)" }}
|
||||
>
|
||||
<div className="flex items-start gap-4">
|
||||
<OrgLogo org={org} color={color} />
|
||||
<div className="flex items-start gap-3 sm:gap-4">
|
||||
<OrgLogo org={org} color={color} size="h-10 w-10 sm:h-14 sm:w-14" />
|
||||
|
||||
<div className="min-w-0 flex-1">
|
||||
<h3 className="text-xl font-bold leading-tight" style={{ color }}>
|
||||
<h3 className="text-lg sm:text-xl font-bold leading-tight [overflow-wrap:anywhere]" style={{ color }}>
|
||||
{org.name}
|
||||
</h3>
|
||||
{subtitle && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue