瀏覽代碼

分页信息靠右显示

Signed-off-by: skywolf627 <skywolf627@qq.com>
skywolf627 3 年之前
父節點
當前提交
bc946f9f24
共有 1 個文件被更改,包括 13 次插入 和 0 次删除
  1. 13 0
      Web/src/assets/styles/main.scss

+ 13 - 0
Web/src/assets/styles/main.scss

@@ -1,19 +1,32 @@
 // Table页自动撑满页面
 .layout-parent {
   height: 0;
+
   >div:first-child {
     display: flex;
     flex-direction: column;
     height: 100%;
+
     .el-card:nth-child(2) {
       flex: 1;
+
       .el-card__body {
         height: 100%;
         display: flex;
         flex-direction: column;
+
         .el-table {
           flex: 1;
         }
+
+        .el-pagination {
+          display: flex;
+
+          >span:first-child {
+            flex: 1;
+            text-align: right;
+          }
+        }
       }
     }
   }