Skip to content

Commit

Permalink
fix: value viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
heypoom committed Apr 8, 2024
1 parent 7544e27 commit 65b4feb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion canvas/src/blocks/value-view/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export const ValueViewBlock = memo((props: Props) => {
node={props}
className={cn(
"relative font-mono",
id === selectingViewerId && "!border-cyan-10",
selectingViewerId !== null &&
id === selectingViewerId &&
"!border-cyan-10",
palette.viewer,
)}
schema={schema}
Expand Down
2 changes: 1 addition & 1 deletion canvas/src/blocks/value-view/utils/region-colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const regionPalettes: RegionPalette[] = [
viewer: "border-purple-10 text-purple-11",
},
{
highlight: "bg-blue-6 text-blue-10 hover:text-blue-12",
highlight: "bg-blue-6 !text-blue-10 hover:text-blue-12",
viewer: "border-blue-10 text-blue-11",
},
{
Expand Down

0 comments on commit 65b4feb

Please sign in to comment.