Skip to content

Commit

Permalink
feat(core): disable zoom on Safari when focus textfield
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Jan 30, 2024
1 parent f4beaa3 commit ed7d3fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/core/styles/mixins/textfield.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import '../taiga-ui-local.less';

.textfield-host() {
.text-basic();
position: relative;
Expand Down Expand Up @@ -288,6 +290,11 @@

.t-input {
.textfield-input();
.ios-only({
&:focus { // disable zoom
font-size: 16px;
}
});
}

.t-content {
Expand Down

0 comments on commit ed7d3fe

Please sign in to comment.