mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-10 11:26:50 +08:00
refactor(layout): 侧边栏宽度使用 CSS 变量
- 将侧边栏宽度从 SASS 变量改为 CSS 变量 - 更新相关样式文件,使用新的 CSS 变量 - 在 Sidebar 组件中动态设置侧边栏宽度 - 删除了不再使用的 $sideBarWidth SASS变量
This commit is contained in:
@@ -89,7 +89,8 @@ export default {
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 9;
|
||||
width: calc(100% - #{$sideBarWidth});
|
||||
//width: calc(100% - #{$sideBarWidth});
|
||||
width: calc(100% - var(--sidebar-width));
|
||||
transition: width 0.28s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user