Selaa lähdekoodia

style: 移除重复选择器

xyhxx 2 vuotta sitten
vanhempi
commit
b6a1bd40c2
1 muutettua tiedostoa jossa 1 lisäystä ja 4 poistoa
  1. 1 4
      packages/app/src/components/filter-fields/index.css

+ 1 - 4
packages/app/src/components/filter-fields/index.css

@@ -17,10 +17,6 @@
   width: 100%;
 }
 
-.ant-space-item:has(.ld-filter-field) {
-  container: field / inline-size;
-}
-
 .ld-filter-field-wrapper {
   flex: 1;
   width: 0;
@@ -31,6 +27,7 @@
 
   & > .ant-space-item {
     width: calc(25% - 16px * 3 / 4);
+    container: field / inline-size;
   }
 }