mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-21 08:17:10 +08: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({
|
export const tableHeaderDivider = style({
|
||||||
height: '0.5px',
|
height: 0,
|
||||||
|
borderTop: `1px solid ${cssVar('borderColor')}`,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
margin: '8px 0',
|
margin: '8px 0',
|
||||||
backgroundColor: cssVar('borderColor'),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export const tableBodyRoot = style({
|
export const tableBodyRoot = style({
|
||||||
|
|||||||
@@ -65,8 +65,8 @@ export const propertyDocCount = style({
|
|||||||
|
|
||||||
export const divider = style({
|
export const divider = style({
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: 1,
|
height: 0,
|
||||||
backgroundColor: cssVar('dividerColor'),
|
borderTop: `1px solid ${cssVar('borderColor')}`,
|
||||||
});
|
});
|
||||||
|
|
||||||
export const spacer = style({
|
export const spacer = style({
|
||||||
|
|||||||
Reference in New Issue
Block a user