Skip to content

Commit 0ab3a18

Browse files
authored
Table header cell style (#586)
* Make table header cell strong * Change tanle header border radius
1 parent 545b00d commit 0ab3a18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/table/body/header/cell.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ const BodyHeaderCell = ({
104104
{...column.columnDef.labelProps}
105105
sorting={column.getIsSorted()}
106106
sortable={column.getCanSort()}
107+
strong
107108
>
108109
{flexRender(column.columnDef.header, header.getContext())}
109110
</Label>

src/components/table/header/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ const Header = ({
3232

3333
return (
3434
<Flex
35+
data-testid="netdata-table-header-container"
3536
data-noprint
3637
width="100%"
3738
zIndex={10}
3839
background="mainBackground"
3940
gap={1}
4041
alignItems="center"
4142
padding={[2, 3]}
42-
round
43+
round={{ side: "top", size: 1 }}
4344
border={{ side: ["vertical", "top"] }}
4445
flexWrap
4546
{...tableMeta.bulkActionsStyles}

0 commit comments

Comments
 (0)