Procházet zdrojové kódy

Fix mobile inputs shadow

Denis K před 8 roky
rodič
revize
b7dc8c2e0b

+ 3 - 1
jet/static/jet/css/_forms.scss

@@ -78,7 +78,9 @@ input[type="text"], input[type="email"], input[type="password"], input[type="url
   }
 
   @include for-mobile {
-    box-shadow: inset 0 2px 6px 0 rgba(0, 0, 0, 0.04)
+    fieldset.module & {
+      box-shadow: inset 0 2px 6px 0 rgba(0, 0, 0, 0.04)
+    }
   }
 }
 

+ 3 - 1
jet/static/jet/css/select2/_layout.scss

@@ -19,7 +19,9 @@ $input-height: 32px;
     height: $input-height;
 
     @include for-mobile {
-      box-shadow: inset 0 2px 6px 0 rgba(0, 0, 0, 0.04);
+      fieldset.module & {
+        box-shadow: inset 0 2px 6px 0 rgba(0, 0, 0, 0.04);
+      }
     }
 
     .select2-selection__rendered {