Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
735028c4
Commit
735028c4
authored
Jul 04, 2021
by
无木
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(table): auto hide unnecessary scrollbar
隐藏无需显示的滚动条时
parent
c8c76155
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+1
-0
index.less
src/design/ant/index.less
+1
-0
table.less
src/design/ant/table.less
+32
-0
No files found.
CHANGELOG.zh_CN.md
View file @
735028c4
...
...
@@ -26,6 +26,7 @@
-
修复全局配置
`fetchSetting`
可能会被局部配置意外修改的问题
-
修复
`handleSearchInfoFn`
的参数包含多余空白键的问题
-
修复为 table 提供 rowSelection.onChange 时,无法手动变更 table 的选中项的问题
-
修复滚动条在无需显示的时候仍然持续显示的问题
-
**Icon**
修复 SvgIcon 缺少部分样式的问题
-
**Menu**
-
修复路由映射模式下,单级菜单刷新不会激活
...
...
src/design/ant/index.less
View file @
735028c4
@import './pagination.less';
@import './input.less';
@import './btn.less';
@import './table.less';
// TODO beta.11 fix
.ant-col {
...
...
src/design/ant/table.less
0 → 100644
View file @
735028c4
@prefix-cls: ~'@{namespace}-basic-table';
// fix table unnecessary scrollbar
.@{prefix-cls} {
.ant-table-wrapper {
.ant-spin-nested-loading {
.ant-spin-container {
.ant-table {
.ant-table-content {
.ant-table-scroll {
.ant-table-hide-scrollbar {
overflow-y: auto !important;
}
.ant-table-body {
overflow: auto !important;
}
}
.ant-table-fixed-right {
.ant-table-body-outer {
.ant-table-body-inner {
overflow-y: auto !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