Skip to content

Commit

Permalink
Merge pull request opf#7941 from opf/fix/31700/project-list--ios-zoom
Browse files Browse the repository at this point in the history
[31700] Fix: iOS zoom in effect on form fields
  • Loading branch information
HDinger authored Dec 16, 2019
2 parents 6e8887c + 9381139 commit e139c50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/assets/stylesheets/content/_forms_mobile.sass
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
autocomplete-select-decoration
width: 100%

html.-browser-safari
.-browser-safari
// Special rule for mobile safari to prevent zooming into the text field
// when focussed.
select,
Expand All @@ -84,5 +84,5 @@
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"]
font-size: 16px
input[type="color"],
font-size: 16px !important
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ $search-input-height-mobile: 36px

.ng-input input
height: 36px
// The font-size is necessary to avoid iOS to zoom in when being focused
font-size: 16px

.top-menu-search--back-button
display: initial
Expand Down

0 comments on commit e139c50

Please sign in to comment.