Set input and textarea font size to 16px on iOS (#7480)

This commit is contained in:
Penar Musaraj
2019-05-07 10:44:43 -04:00
committed by GitHub
parent 98a75906c8
commit 446ec1b44a
7 changed files with 39 additions and 38 deletions

View File

@@ -16,4 +16,9 @@ module MobileDetection
mobile_device?(user_agent)
end
end
def self.ios_device?(user_agent)
user_agent =~ /iPad|iPhone|iPod/
end
end