fix: a serise of ui issues of new setting (#2920)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
Qi
2023-06-29 17:25:42 +08:00
committed by GitHub
parent 8410d83744
commit 5cfdf6c7e2
11 changed files with 43 additions and 41 deletions

View File

@@ -16,7 +16,6 @@ export const navWrapperStyle = style({
zIndex: 2,
paddingBottom: '8px',
backgroundColor: 'transparent',
borderRight: '1px solid var(--affine-border-color)',
'@media': {
[`(max-width: ${floatingMaxWidth}px)`]: {
position: 'absolute',
@@ -42,6 +41,10 @@ export const navWrapperStyle = style({
},
'&.has-background': {
backgroundColor: 'var(--affine-white-60)',
borderRight: '1px solid var(--affine-border-color)',
},
'&.has-border': {
borderRight: '1px solid var(--affine-border-color)',
},
},
});