fix: divider styles issue (#6058)

Using height: 1 as divider may have some display issues on Chrome. No idea why yet.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/42b342fb-d109-4bf7-b458-e870099710bc.png)
This commit is contained in:
Peng Xiao
2024-03-11 06:04:54 +00:00
parent fc9bf9cd8a
commit c93077f643
2 changed files with 4 additions and 4 deletions

View File

@@ -97,10 +97,10 @@ export const tableHeaderTimestamp = style({
});
export const tableHeaderDivider = style({
height: '0.5px',
height: 0,
borderTop: `1px solid ${cssVar('borderColor')}`,
width: '100%',
margin: '8px 0',
backgroundColor: cssVar('borderColor'),
});
export const tableBodyRoot = style({

View File

@@ -65,8 +65,8 @@ export const propertyDocCount = style({
export const divider = style({
width: '100%',
height: 1,
backgroundColor: cssVar('dividerColor'),
height: 0,
borderTop: `1px solid ${cssVar('borderColor')}`,
});
export const spacer = style({