fix(ui): draw the 'It repeats daily' plus instead of typing it

The fullwidth plus is in neither Chakra Petch nor Public Sans, so it fell
back to whatever font the device had and showed as an empty box on some.
It is now an SVG stroked like the other icons.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Lucas Winther
2026-10-01 03:44:35 +02:00
co-authored by Claude Opus 5.5
parent 66d6748070
commit 97d4786646
+12 -1
View File
@@ -216,7 +216,18 @@ export function EventDetail({
onClick={() => onDaily(event.id, dailyOverride(true, detectedDaily))}
className="mt-5 flex w-full items-center gap-2.5 rounded-xl border border-dashed border-hairline px-4 py-3 text-left transition-colors hover:border-faint"
>
<span aria-hidden className="text-base leading-none text-faint">+</span>
{/* Drawn rather than typed: the fullwidth plus this used to be is
missing from both faces, so it fell back to whatever the device
had — and on some, that was an empty box. */}
<svg viewBox="0 0 16 16" aria-hidden className="size-3.5 shrink-0 text-faint">
<path
d="M8 3v10M3 8h10"
fill="none"
stroke="currentColor"
strokeWidth="1.8"
strokeLinecap="round"
/>
</svg>
<span>
<span className="block text-sm font-medium">
It repeats daily