Skip to content

Commit 5c3c407

Browse files
Fix mini table header border (#3045)
1 parent 8297880 commit 5c3c407

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/ui/lib/Table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Table.HeadCell = ({ className, children, ...props }: TableHeadCellProps) => (
5050
<th
5151
className={cn(
5252
className,
53-
'text-mono-sm bg-secondary border-default *:first-child:border-0 h-9 border border-x-0 pr-px pl-0 text-left'
53+
'text-mono-sm bg-secondary border-default h-9 border-y pr-px pl-0 text-left'
5454
)}
5555
{...props}
5656
>

app/ui/styles/components/mini-table.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@
6767

6868
& thead tr:first-of-type th:first-of-type {
6969
border-top-left-radius: var(--radius-lg);
70-
@apply border-l;
70+
@apply overflow-hidden border-l;
7171
}
7272

7373
& thead tr:first-of-type th:last-of-type {
7474
border-top-right-radius: var(--radius-lg);
75-
@apply w-8 border-r;
75+
@apply w-8 overflow-hidden border-r;
7676
}
7777

7878
& tbody tr:last-of-type td:first-of-type {

0 commit comments

Comments
 (0)