mirror of
https://github.com/stablyai/orca.git
synced 2026-10-13 00:02:54 +00:00
chore(sidebar): clean up residual styles from bell removal
- Drop dead flex-col/gap-2 on the status rail — only one child remains - Factor shared text-foreground out of the repo-chip ternary - Revert unrelated PR link color drift in WorktreeCardMeta to restore parity with IssueSection Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -365,7 +365,7 @@ const WorktreeCard = React.memo(function WorktreeCard({
|
||||
now, so the rail only needs to render when the status dot is
|
||||
enabled — the 'unread' property is intentionally excluded here. */}
|
||||
{cardProps.includes('status') && (
|
||||
<div className="flex flex-col items-center justify-start pt-[2px] gap-2 shrink-0">
|
||||
<div className="flex items-center justify-start pt-[2px] shrink-0">
|
||||
<StatusIndicator status={status} aria-hidden="true" />
|
||||
<span className="sr-only">{getWorktreeStatusLabel(status)}</span>
|
||||
</div>
|
||||
@@ -494,10 +494,8 @@ const WorktreeCard = React.memo(function WorktreeCard({
|
||||
hierarchy against the title. */}
|
||||
<span
|
||||
className={cn(
|
||||
'text-[10px] truncate max-w-[6rem] leading-none lowercase',
|
||||
showUnreadEmphasis
|
||||
? 'font-semibold text-foreground'
|
||||
: 'font-normal text-foreground'
|
||||
'text-[10px] truncate max-w-[6rem] leading-none lowercase text-foreground',
|
||||
showUnreadEmphasis ? 'font-semibold' : 'font-normal'
|
||||
)}
|
||||
>
|
||||
{repo.displayName}
|
||||
|
||||
@@ -97,7 +97,7 @@ export function PrSection({ pr, onClick }: PrSectionProps): React.JSX.Element {
|
||||
href={pr.url}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="text-muted-foreground shrink-0 hover:text-foreground hover:underline"
|
||||
className="text-foreground opacity-80 font-medium shrink-0 hover:text-foreground hover:underline"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
PR #{pr.number}
|
||||
|
||||
Reference in New Issue
Block a user