From ed7d3fe36a8f8d9c249b4714a83f8bc21c372c6c Mon Sep 17 00:00:00 2001 From: splincode Date: Tue, 30 Jan 2024 13:51:22 +0300 Subject: [PATCH] feat(core): disable zoom on Safari when focus textfield --- projects/core/styles/mixins/textfield.less | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/projects/core/styles/mixins/textfield.less b/projects/core/styles/mixins/textfield.less index 693c336ba967..df4efac3e0bb 100644 --- a/projects/core/styles/mixins/textfield.less +++ b/projects/core/styles/mixins/textfield.less @@ -1,3 +1,5 @@ +@import '../taiga-ui-local.less'; + .textfield-host() { .text-basic(); position: relative; @@ -288,6 +290,11 @@ .t-input { .textfield-input(); + .ios-only({ + &:focus { // disable zoom + font-size: 16px; + } + }); } .t-content {