diff --git a/src/components/AccountSection.tsx b/src/components/AccountSection.tsx index c69e614..27ee494 100644 --- a/src/components/AccountSection.tsx +++ b/src/components/AccountSection.tsx @@ -108,7 +108,7 @@ export default function AccountSection({ account, onMessage }: { account: Accoun )} - diff --git a/src/components/BottomNav.tsx b/src/components/BottomNav.tsx index 16c576f..a5a8885 100644 --- a/src/components/BottomNav.tsx +++ b/src/components/BottomNav.tsx @@ -31,7 +31,7 @@ export default function BottomNav({ current, onChange, onAdd }: Props) { {label} {/* soulignement fin, comme le lien actif de rdacet.fr */} - + ) diff --git a/src/components/CalendarView.tsx b/src/components/CalendarView.tsx index ee92a3b..39b3b79 100644 --- a/src/components/CalendarView.tsx +++ b/src/components/CalendarView.tsx @@ -63,7 +63,7 @@ function EntryRow({ e, onOpen, onAdd, busy, added }: { e: Entry; onOpen: (i: Med ) if (mine) { return ( - diff --git a/src/components/DatabaseSearch.tsx b/src/components/DatabaseSearch.tsx index 1c0ffb5..7b550de 100644 --- a/src/components/DatabaseSearch.tsx +++ b/src/components/DatabaseSearch.tsx @@ -91,24 +91,24 @@ export default function DatabaseSearch({ onPick, initialQuery = '', currentExter
- + setQuery(e.target.value)} placeholder="Parasite, Frieren, Crash Landing on You…" - className="field pl-10" + className="field ps-10" enterKeyHint="search" autoComplete="off" /> - {loading && } + {loading && }
{!hasKey && (
{t('search.animeOnly')} {onGoToSettings && ( - )} @@ -128,7 +128,7 @@ export default function DatabaseSearch({ onPick, initialQuery = '', currentExter type="button" onClick={() => pick(r)} disabled={!!picking} - className="flex w-full items-center gap-3 rounded-lg px-1 py-2.5 text-left transition-colors active:bg-surface-2 disabled:opacity-60" + className="flex w-full items-center gap-3 rounded-lg px-1 py-2.5 text-start transition-colors active:bg-surface-2 disabled:opacity-60" > {r.thumb ? ( diff --git a/src/components/Disagreements.tsx b/src/components/Disagreements.tsx index b076bee..9c603ff 100644 --- a/src/components/Disagreements.tsx +++ b/src/components/Disagreements.tsx @@ -30,14 +30,14 @@ function Row({ item, scale }: { item: MediaItem; scale: RatingScale }) { {t('public.me')} {formatRating(item.rating, scale)} · {t('public.label')} {formatRating(item.publicRating, scale)}

- + = 0 ? 'bg-accent' : 'bg-ink-3')} style={gap >= 0 ? { left: '50%', width: `${width}%` } : { right: '50%', width: `${width}%` }} />
- = 0 ? 'text-accent' : 'text-ink-2')}>{signed(gap, scale)} + = 0 ? 'text-accent' : 'text-ink-2')}>{signed(gap, scale)} ) } diff --git a/src/components/EpisodeList.tsx b/src/components/EpisodeList.tsx index 6187660..f8503e8 100644 --- a/src/components/EpisodeList.tsx +++ b/src/components/EpisodeList.tsx @@ -86,7 +86,7 @@ export default function EpisodeList({ form, aired, onChange }: Props) { setQuery(e.target.value)} placeholder={t('lists.searchLibrary')} className="field pl-10" autoFocus /> + + setQuery(e.target.value)} placeholder={t('lists.searchLibrary')} className="field ps-10" autoFocus />
    {candidates.map((item) => { const inList = item.listIds?.includes(list.id) return (
  • - - + {item.favorite && ( - + )} {canIncrement && ( )} - diff --git a/src/components/Poster.tsx b/src/components/Poster.tsx index 5977e1f..9e5ca21 100644 --- a/src/components/Poster.tsx +++ b/src/components/Poster.tsx @@ -20,7 +20,7 @@ export default function Poster({ src, title, className }: { src?: string; title: return (
    {initial} - +
    ) } diff --git a/src/components/Rating.tsx b/src/components/Rating.tsx index 8699c19..12652e2 100644 --- a/src/components/Rating.tsx +++ b/src/components/Rating.tsx @@ -50,7 +50,7 @@ export function RatingInput({ value, onChange, scale, size = 'lg', label }: Inpu }} className="h-2 flex-1 accent-accent-fill" /> - + {value ? formatRating(value, '10') : '—'} /10 @@ -87,11 +87,11 @@ export function RatingInput({ value, onChange, scale, size = 'lg', label }: Inpu ) })} - + {value ? formatRating(value, '5') : ''} {value != null && size === 'lg' && ( - )} diff --git a/src/components/Recommendations.tsx b/src/components/Recommendations.tsx index 219cd88..72e1371 100644 --- a/src/components/Recommendations.tsx +++ b/src/components/Recommendations.tsx @@ -134,7 +134,7 @@ export default function Recommendations() {
    @@ -133,10 +133,10 @@ export default function TopFive({ onOpen }: { onOpen: (item: MediaItem) => void return (
    - + -
    +
    {item ? (
    -

    +

    {item ? item.title : '—'}

    - {item?.rating ?

    {formatRating(item.rating, settings.ratingScale)}/{settings.ratingScale}

    : null} + {item?.rating ?

    {formatRating(item.rating, settings.ratingScale)}/{settings.ratingScale}

    : null}
    ) })} diff --git a/src/components/TopFiveEditor.tsx b/src/components/TopFiveEditor.tsx index 496a66a..890721d 100644 --- a/src/components/TopFiveEditor.tsx +++ b/src/components/TopFiveEditor.tsx @@ -140,8 +140,8 @@ export default function TopFiveEditor({ category: initialCategory, onClose }: Pr
    - - setQuery(e.target.value)} placeholder={t('top.searchTitle')} className="field pl-10" /> + + setQuery(e.target.value)} placeholder={t('top.searchTitle')} className="field ps-10" />
    {ids.length >= 5 &&

    {t('top.full')}

    }
      @@ -150,7 +150,7 @@ export default function TopFiveEditor({ category: initialCategory, onClose }: Pr @@ -147,9 +147,9 @@ export default function EditProfile({ onClose }: { onClose: () => void }) {