mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 15:49:29 +08:00
fix(miniapp): title container background style align with sidebar (#9915)
This commit is contained in:
parent
7c0a800d9d
commit
826b71deba
@ -537,7 +537,9 @@ const MinappPopupContainer: React.FC = () => {
|
|||||||
wrapper: {
|
wrapper: {
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
marginLeft: isLeftNavbar ? 'var(--sidebar-width)' : 0,
|
marginLeft: isLeftNavbar ? 'var(--sidebar-width)' : 0,
|
||||||
marginTop: isTopNavbar ? 'var(--navbar-height)' : 0,
|
marginTop: isTopNavbar ? 'var(--navbar-height)' : 0
|
||||||
|
},
|
||||||
|
content: {
|
||||||
backgroundColor: window.root.style.background
|
backgroundColor: window.root.style.background
|
||||||
}
|
}
|
||||||
}}>
|
}}>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user