Skip to content

Commit 85096cf

Browse files
committed
Additional Fixes for Prevent Auto-zooming on IOS Devices
1 parent 3348a51 commit 85096cf

File tree

1 file changed

+2
-2
lines changed
  • gwt-material/src/main/resources/gwt/material/design/public/css

1 file changed

+2
-2
lines changed

gwt-material/src/main/resources/gwt/material/design/public/css/overridecss.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ i[class*="waves-"].material-icons {
13651365
}
13661366

13671367
.input-field input[type=search] + label {
1368-
z-index: 999 !important;
1368+
z-index: 998 !important;
13691369
}
13701370

13711371
.search-result {
@@ -1513,7 +1513,7 @@ i[class*="waves-"].material-icons {
15131513
* Fix IOS Issue - Auto zooms when focusing on input element.
15141514
* Read more - https://github.com/Dogfalo/materialize/issues/5008
15151515
**/
1516-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
1516+
@media screen and (min-width: 768px) {
15171517
input:not([type]),
15181518
input[type=text],
15191519
input[type=password],

0 commit comments

Comments
 (0)