【更新】表格{ x: 1200, y: 300 }不生效问题修复

pull/103/head^2 v2.2.5
小诺 2 years ago
parent 21decad50c
commit 8d43c83eef

@ -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…
Cancel
Save