Browse Source

css(月は年と揃え)

liuxf 4 months ago
parent
commit
84fcf3f628
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/views/fcbi/sales/sumSettings.vue

+ 7 - 0
src/views/fcbi/sales/sumSettings.vue

@@ -776,6 +776,13 @@ const resetRegionTreeCheck = (nodes) => {
     position: relative;
     left: 0 !important; /* 消除任何隐性定位偏移 */
   }
+
+  /* 月下拉列表行与年下拉列表对齐 */
+  .monthly-section .date-groups-wrapper .date-group:nth-child(2) {
+    /* 与年下拉列表的单选框宽度+间距保持一致,确保左对齐 */
+    margin-left: 80px !important; /* 匹配"月指定"单选框的宽度(80px),使月下拉列表左对齐基准与年下拉列表一致 */
+    margin-top: 8px; /* 可选:添加微小间距,避免与年下拉列表过于拥挤 */
+  }
 }
 
 </style>