mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix: site toc dark bg
This commit is contained in:
parent
6921bd4b8b
commit
79867a985e
@ -53,7 +53,13 @@ ul.toc > li {
|
||||
max-height: ~'calc(100vh - 16px)';
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
background: @body-background;
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
[data-theme='dark'] .toc-affix {
|
||||
.ant-affix {
|
||||
background: #141414;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user