Use destructive variant for delete worktree and align empty checks (#5448)

- Change the delete worktree button in MergedReviewActions to a
  destructive variant to make the workspace deletion more obvious.
- Remove flex centering layout from the empty checks container, using
  left padding instead to align with other sidebar items.
This commit is contained in:
Jinjing
2026-06-15 20:07:52 -07:00
committed by GitHub
parent 672c3d2d5e
commit 8e9f0fb0da
2 changed files with 2 additions and 2 deletions
@@ -62,7 +62,7 @@ export function MergedReviewActions({
return (
<Button
type="button"
variant="secondary"
variant="destructive"
size="xs"
className="cursor-pointer text-[11px] hover:cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
onClick={onDeleteWorktree}
@@ -1226,7 +1226,7 @@ export function ChecksList({
<LoaderCircle className="size-5 animate-spin text-muted-foreground" />
</div>
) : checks.length === 0 ? (
<div className="flex items-center justify-center py-8 text-[11px] text-muted-foreground">
<div className="px-3 py-8 text-[11px] text-muted-foreground">
{translate(
'auto.components.right.sidebar.checks.panel.content.991f50c7e4',
'No checks configured'