Skip to content

Commit

Permalink
fix: use correct document status indicator colors, update document st…
Browse files Browse the repository at this point in the history
…atus tooltip spacing
  • Loading branch information
robinpyon authored and rexxars committed Dec 19, 2023
1 parent af3056c commit ee5b543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sanity/src/ui/documentStatus/DocumentStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function DocumentStatus({absoluteDate, draft, published, singleLine}: Doc
<Flex
align={singleLine ? 'center' : 'flex-start'}
direction={singleLine ? 'row' : 'column'}
gap={2}
gap={singleLine ? 2 : 3}
wrap="nowrap"
>
{!publishedDate && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Dot = styled(Box)<{$draft?: boolean; $hidePublishedStatus: boolean; $publi

return css`
background: ${$published
? theme.sanity.v2?.color.selectable[tone].enabled.badge[tone].dot
? theme.sanity.v2?.color.selectable[tone].disabled.badge[tone].icon
: theme.sanity.v2?.color.selectable[tone].disabled.badge[tone].dot};
border-radius: ${SIZE}px;
display: ${$hidePublishedStatus && $published && !$draft ? 'none' : 'block'};
Expand Down

0 comments on commit ee5b543

Please sign in to comment.