Parcourir la source

Fix mobile inputs shadow

Denis K il y a 8 ans
Parent
commit
b7dc8c2e0b
2 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 3 1
      jet/static/jet/css/_forms.scss
  2. 3 1
      jet/static/jet/css/select2/_layout.scss

+ 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 {
   @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;
     height: $input-height;
 
 
     @include for-mobile {
     @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 {
     .select2-selection__rendered {