verce-vue-test 0.0.145 → 0.0.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -817,6 +817,8 @@ initColumns()
|
|
|
817
817
|
</template>
|
|
818
818
|
|
|
819
819
|
<style scoped lang="scss">
|
|
820
|
+
$small-horizontal-scrollbar-height: 10px;
|
|
821
|
+
|
|
820
822
|
/**
|
|
821
823
|
* 主容器样式
|
|
822
824
|
*/
|
|
@@ -825,16 +827,18 @@ initColumns()
|
|
|
825
827
|
}
|
|
826
828
|
|
|
827
829
|
/**
|
|
828
|
-
*
|
|
830
|
+
* 小尺寸表格样式:统一文字尺寸、压缩单元格上下留白,并为底部横向滚动条预留空间。
|
|
829
831
|
*/
|
|
830
832
|
.el-table-plus :deep(.el-table--small) {
|
|
831
833
|
--el-table-text-color: #000;
|
|
832
834
|
--el-table-header-text-color: #000;
|
|
835
|
+
font-size: 15px;
|
|
833
836
|
color: #000;
|
|
834
837
|
}
|
|
835
838
|
|
|
836
839
|
.el-table-plus :deep(.el-table--small .el-table__cell) {
|
|
837
840
|
padding: 0 !important;
|
|
841
|
+
font-size: 15px !important;
|
|
838
842
|
}
|
|
839
843
|
|
|
840
844
|
.el-table-plus :deep(.el-table--small .cell) {
|
|
@@ -850,8 +854,13 @@ initColumns()
|
|
|
850
854
|
height: 20px;
|
|
851
855
|
}
|
|
852
856
|
|
|
853
|
-
.el-table-plus :deep(.el-table--small .el-table__body-wrapper .el-
|
|
854
|
-
|
|
857
|
+
.el-table-plus :deep(.el-table--small.el-table--scrollable-x .el-table__body-wrapper .el-scrollbar) {
|
|
858
|
+
box-sizing: border-box;
|
|
859
|
+
padding-bottom: $small-horizontal-scrollbar-height;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.el-table-plus :deep(.el-table--small.el-table--scrollable-x .el-table__body-wrapper .el-scrollbar__bar.is-horizontal) {
|
|
863
|
+
height: $small-horizontal-scrollbar-height;
|
|
855
864
|
bottom: 0;
|
|
856
865
|
}
|
|
857
866
|
|