@@ -1510,22 +1510,23 @@ i[class*="waves-"].material-icons {
15101510}
15111511
15121512/**
1513- * Fix IOS Issue - Auto zooms when focusing on input element.
1513+ * Fix IOS Issue - Auto zooms when focusing on input element. And also the excess box-shadow
1514+ * Causing a border on the left part of input-fields on mobile devices.
15141515* Read more - https://github.com/Dogfalo/materialize/issues/5008
15151516**/
1516- @media screen and (min -width: 768px ) {
1517- input : not ([type ]),
1518- input [type = text ],
1519- input [type = password ],
1520- input [type = email ],
1521- input [type = url ],
1522- input [type = time ],
1523- input [type = date ],
1524- input [type = datetime-local ],
1525- input [type = tel ],
1526- input [type = number ],
1527- input [type = search ],
1528- textarea .materialize-textarea {
1517+ @media screen and (max -width: 768px ) {
1518+ . input-field input : not ([type ]),
1519+ . input-field input [type = text ],
1520+ . input-field input [type = password ],
1521+ . input-field input [type = email ],
1522+ . input-field input [type = url ],
1523+ . input-field input [type = time ],
1524+ . input-field input [type = date ],
1525+ . input-field input [type = datetime-local ],
1526+ . input-field input [type = tel ],
1527+ . input-field input [type = number ],
1528+ . input-field input [type = search ],
1529+ . input-field textarea .materialize-textarea {
15291530 font-size : 16px ;
15301531 }
15311532}
0 commit comments