fix(core): nav sidebar should have default bg (#13265)

fix AF-2724

#### PR Dependency Tree


* **PR #13265** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Style**
* Updated sidebar background color to apply in additional display
scenarios, ensuring a more consistent appearance across different modes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Peng Xiao
2025-07-28 10:43:38 +08:00
committed by GitHub
parent 6a1b53dd11
commit 13763e80bb

View File

@@ -13,7 +13,7 @@ export const navWrapperStyle = style({
'&[data-has-border=true]': {
borderRight: `0.5px solid ${cssVarV2('layer/insideBorder/border')}`,
},
'&[data-is-floating="true"]': {
'&[data-is-floating="true"], &[data-is-electron="false"]': {
backgroundColor: cssVarV2('layer/background/primary'),
},
},