fix(admin): 统一隐藏滚动条并同步预设编辑规则

- 后台滚动:隐藏原生和Element Plus自绘轨道,表格弹窗与下拉框保留滚动

- Grok业务改动:预设预算下限同步6000,说明统一方案快照和下架回退行为

- 文档与验证:同步交互约束,类型检查样式检查和生产构建通过
This commit is contained in:
湛兮
2026-10-27 12:54:52 +08:00
parent f9abc12853
commit 703237469e
3 changed files with 41 additions and 2 deletions
+37
View File
@@ -35,3 +35,40 @@
.html-weakness {
filter: invert(80%);
}
/* 后台原生与 Element Plus 内部轨道统一隐藏,表格、抽屉和下拉框仍可滚动。 */
:root,
:root * {
scrollbar-width: none !important;
}
:root::-webkit-scrollbar,
:root *::-webkit-scrollbar {
display: none !important;
width: 0 !important;
height: 0 !important;
}
.el-scrollbar__bar {
display: none !important;
}
body {
overflow-x: hidden;
}
.el-dialog,
.el-drawer {
max-width: 100vw;
}
.el-dialog__body,
.el-drawer__body {
min-width: 0;
}
.el-textarea__inner {
max-width: 100%;
overflow-x: hidden;
overflow-wrap: anywhere;
}