8000 fix: make color swatches em width · githubocto/flat-ui@3a0bf3e · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a0bf3e

Browse files
author
Amelia Wattenberger
committed
fix: make color swatches em width
in case font-size is decreased
1 parent 9918577 commit 3a0bf3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/cells/color.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface ColorCellProps {
1111
export function ColorCell(props: ColorCellProps) {
1212
return (
1313
<Fragment>
14-
<div tw="absolute top-0 bottom-0 left-0 w-4" style={{
14+
<div tw="absolute top-0 bottom-0 left-0 w-[0.9em]" style={{
1515
background: props.value,
1616
}} />
1717
<div

0 commit comments

Comments
 (0)
0