Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b98c9f40
authored
Dec 09, 2025
by
Calcium-Ion
Committed by
GitHub
Dec 09, 2025
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2395 from seefs001/fix/siderbar
fix: sidebar color overlap
parents
8e8fbc8e
1ebbf517
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletions
+17
-1
web/src/components/layout/SiderBar.jsx
+0
-1
web/src/index.css
+17
-0
No files found.
web/src/components/layout/SiderBar.jsx
View file @
b98c9f40
...
...
@@ -377,7 +377,6 @@ const SiderBar = ({ onNavigate = () => {} }) => {
className=
'sidebar-container'
style=
{
{
width
:
'var(--sidebar-current-width)'
,
background
:
'var(--semi-color-bg-0)'
,
}
}
>
<
SkeletonWrapper
...
...
web/src/index.css
View file @
b98c9f40
...
...
@@ -108,6 +108,7 @@ code {
display
:
flex
;
flex-direction
:
column
;
transition
:
width
0.3s
ease
;
background
:
var
(
--semi-color-bg-0
);
}
.sidebar-nav
{
...
...
@@ -221,6 +222,22 @@ code {
padding-top
:
12px
;
}
@media
(
max-width
:
767px
)
{
.sidebar-container
{
background
:
var
(
--semi-color-bg-1
);
border-right
:
1px
solid
var
(
--semi-color-border
);
}
.sidebar-nav
{
background
:
var
(
--semi-color-bg-1
);
}
.sidebar-collapse-button
{
background-color
:
var
(
--semi-color-bg-1
);
box-shadow
:
0
-10px
10px
-5px
var
(
--semi-color-bg-1
);
}
}
/* ==================== 聊天界面样式 ==================== */
.semi-chat
{
padding-top
:
0
!important
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment