Explorar o código

Fix mobile inputs shadow

Denis K %!s(int64=8) %!d(string=hai) anos
pai
achega
b7dc8c2e0b
Modificáronse 2 ficheiros con 6 adicións e 2 borrados
  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 {
-    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 {