Skip to content

Commit db92f1d

Browse files
authored
chore: fix the issue of header width of board column (#22)
1 parent 511731f commit db92f1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/_shared/tag/Tag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const Tag: FC<TagProps> = ({ color, label, badge }) => {
3333
style={{
3434
color: `var(${badge})`,
3535
}}
36-
className={`!h-1.5 !w-1.5`}
36+
className={`!h-1.5 !w-1.5 min-w-1.5`}
3737
/>
3838
)}
3939
<div className={'truncate'}>{label}</div>

src/components/database/components/board/column/ColumnHeaderPrimitive.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function ColumnHeaderPrimitive(
4444
{...props}
4545
>
4646
<div className={'flex flex-1 items-center gap-2'}>
47-
<div className={'w-auto max-w-[180px] overflow-hidden'}>{header}</div>
47+
<div className={'w-auto max-w-[170px] overflow-hidden'}>{header}</div>
4848
<span className={'text-xs text-text-secondary'}>{rowCount}</span>
4949
</div>
5050
{!readOnly && (

0 commit comments

Comments
 (0)