mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 21:48:48 +08:00
fix: a serise of ui issues of new setting (#2920)
Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
@@ -97,6 +97,9 @@ export function AppSidebar(props: AppSidebarProps): ReactElement {
|
||||
})}
|
||||
className={clsx(navWrapperStyle, {
|
||||
'has-background': environment.isDesktop && props.hasBackground,
|
||||
'has-border':
|
||||
!environment.isDesktop ||
|
||||
(environment.isDesktop && props.hasBackground),
|
||||
})}
|
||||
data-open={open}
|
||||
data-is-macos-electron={isMacosDesktop}
|
||||
|
||||
Reference in New Issue
Block a user