From 13763e80bbff8a398d2ebd02b03a363a77326343 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Mon, 28 Jul 2025 10:43:38 +0800 Subject: [PATCH] fix(core): nav sidebar should have default bg (#13265) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix AF-2724 #### PR Dependency Tree * **PR #13265** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) ## Summary by CodeRabbit * **Style** * Updated sidebar background color to apply in additional display scenarios, ensuring a more consistent appearance across different modes. --- .../frontend/core/src/modules/app-sidebar/views/index.css.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/core/src/modules/app-sidebar/views/index.css.ts b/packages/frontend/core/src/modules/app-sidebar/views/index.css.ts index 3f0ceec28..6c00178f8 100644 --- a/packages/frontend/core/src/modules/app-sidebar/views/index.css.ts +++ b/packages/frontend/core/src/modules/app-sidebar/views/index.css.ts @@ -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'), }, },