style(e4): prettier-format two S6-touched files to unblock the 0.70.0 gate
gate / frontend (push) Successful in 1m2s
gate / backend (push) Successful in 2m1s
gate / frontend (push) Successful in 1m2s
gate / backend (push) Successful in 2m1s
The reveal-class swap in S6 shortened two className lines (VideoCard action row, SavedViewsWidget default-star), which prettier wants collapsed to one line. The local `npm run lint` doesn't run prettier --check, so it slipped past the sprint gate and only the release `siftlode check` caught it. Formatting only, no behavior change. Fixes the pre-publish gate for the already-merged 0.70.0 on main.
This commit is contained in:
@@ -319,9 +319,7 @@ function ViewRow({
|
|||||||
onClick={onToggleDefault}
|
onClick={onToggleDefault}
|
||||||
title={view.is_default ? t("views.isDefault") : t("views.makeDefault")}
|
title={view.is_default ? t("views.isDefault") : t("views.makeDefault")}
|
||||||
className={`p-1 rounded transition ${
|
className={`p-1 rounded transition ${
|
||||||
view.is_default
|
view.is_default ? "text-accent" : "text-muted reveal hover:text-accent"
|
||||||
? "text-accent"
|
|
||||||
: "text-muted reveal hover:text-accent"
|
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<Star className={`w-3.5 h-3.5 ${view.is_default ? "fill-current" : ""}`} />
|
<Star className={`w-3.5 h-3.5 ${view.is_default ? "fill-current" : ""}`} />
|
||||||
|
|||||||
@@ -60,12 +60,7 @@ function Actions({
|
|||||||
// flex-wrap is the safety net, not the plan: the sizing above is what makes them fit. If a
|
// flex-wrap is the safety net, not the plan: the sizing above is what makes them fit. If a
|
||||||
// future button or a narrower column breaks that arithmetic, the row wraps to a second line
|
// future button or a narrower column breaks that arithmetic, the row wraps to a second line
|
||||||
// rather than silently rendering a half-clipped control outside the card.
|
// rather than silently rendering a half-clipped control outside the card.
|
||||||
<div
|
<div className={clsx("flex flex-wrap reveal transition", dense ? "gap-0.5" : "gap-1")}>
|
||||||
className={clsx(
|
|
||||||
"flex flex-wrap reveal transition",
|
|
||||||
dense ? "gap-0.5" : "gap-1",
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
<button
|
<button
|
||||||
onClick={act("watched")}
|
onClick={act("watched")}
|
||||||
title={video.status === "watched" ? t("card.watchedUnmark") : t("card.markWatched")}
|
title={video.status === "watched" ? t("card.watchedUnmark") : t("card.markWatched")}
|
||||||
|
|||||||
Reference in New Issue
Block a user