Browse Source

资源中心样式修改

sujunling 1 year ago
parent
commit
cd27bae2b6
1 changed files with 13 additions and 1 deletions
  1. 13 1
      src/views/resource/plat/index.vue

+ 13 - 1
src/views/resource/plat/index.vue

@@ -178,6 +178,17 @@ export default defineComponent({
   font-weight: bold;
   font-size: 16px;
 }
+.resouresList .ant-tabs .ant-tabs-top-content {
+    width: 100%;
+    height: 100vh;
+    overflow: auto;
+    &::-webkit-scrollbar {
+      width: 3px;
+    }
+}
+.datacenter-right .resource_list {
+  margin-bottom: 160px;
+}
 </style>
 <style lang="less" scoped>
 .p-4 {
@@ -189,7 +200,8 @@ export default defineComponent({
     height: 100%;
     background-color: #fff;
     border-radius: 6px;
-
+    overflow: hidden;
+    height: calc(100vh - 70px);
     .datacenter-left {
       float: left;
       width: 250px;