mirror of https://gitee.com/xiaonuobase/snowy
【更新】表格{ x: 1200, y: 300 }不生效问题修复
parent
ae73f1bb14
commit
50ff1b8f9f
|
@ -27,19 +27,6 @@ body {
|
|||
margin: 24px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* ant-table-wrapper
|
||||
* 覆盖的表格手机模式样式,如果想修改在手机上表格最低宽度,可以在这里改动
|
||||
*/
|
||||
.ant-table-wrapper {
|
||||
.ant-table-content {
|
||||
overflow-y: auto;
|
||||
}
|
||||
.ant-table-body {
|
||||
min-width: 800px;
|
||||
}
|
||||
}
|
||||
.topmenu {
|
||||
/* 必须为 topmenu 才能启用流式布局 */
|
||||
&.content-width-Fluid {
|
||||
|
|
|
@ -398,6 +398,24 @@ a, button, input, textarea {
|
|||
padding: 12px 0!important;
|
||||
}
|
||||
|
||||
/* 重写antdv的表格滚动条 */
|
||||
.ant-table-body {
|
||||
&::-webkit-scrollbar {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border-radius: 10px;
|
||||
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
|
||||
background: @border-color-split;
|
||||
}
|
||||
&::-webkit-scrollbar-track {
|
||||
-webkit-box-shadow: 0;
|
||||
border-radius: 10px;
|
||||
background: @background-color-base;
|
||||
}
|
||||
}
|
||||
|
||||
// 滚动条,需要哪里,加哪个class
|
||||
body,
|
||||
.ant-drawer-wrapper-body,
|
||||
|
@ -417,7 +435,6 @@ body,
|
|||
.org-table,
|
||||
.pos-table,
|
||||
.poi-list,
|
||||
.ant-table-body,
|
||||
.snowy-orgpos-vis,
|
||||
.index-message-list,
|
||||
.ant-picker-time-panel-column,
|
||||
|
|
Loading…
Reference in New Issue