mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
fix: divider styles issue (#6058)
Using height: 1 as divider may have some display issues on Chrome. No idea why yet. 
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user