Skip to content

Commit ace8f9e

Browse files
committed
🐞 fix(styles/index): Update .el-scrollbar__bar style
- 解决表格内容超过表格总宽度后,横向滚动条前端顶不到表格边缘的问题
1 parent 9dc361e commit ace8f9e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/styles/index.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
width: 100% !important;
1111
}
1212

13+
// 解决表格内容超过表格总宽度后,横向滚动条前端顶不到表格边缘的问题
14+
.el-scrollbar__bar {
15+
display: flex;
16+
justify-content: flex-start;
17+
}
18+
1319
/* nprogress 适配 element-plus 的主题色 */
1420
#nprogress {
1521
& .bar {

0 commit comments

Comments
 (0)