Browse Source

兼容分辨率

wy 1 year ago
parent
commit
b48cd79af6
1 changed files with 15 additions and 4 deletions
  1. 15 4
      src/views/manage-log/data-export.vue

+ 15 - 4
src/views/manage-log/data-export.vue

@@ -378,11 +378,22 @@ export default {
   },
 };
 </script>
-<style scoped>
-::v-deep .el-table__fixed{
+<style scoped lang="scss">
+::v-deep .el-table__fixed {
   height: calc(100% - 10px) !important;
 }
-::v-deep .el-table th.is-leaf{
+::v-deep .el-table th.is-leaf {
   font-size: 15px !important;
+  div{
+    white-space: nowrap;
+  }
 }
-</style>
+@media screen and (max-width:1100px) {
+  ::v-deep .el-table th.is-leaf {
+  div{
+    white-space: nowrap;
+    width: 200px;
+  }
+}
+}
+</style>