mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Set input and textarea font size to 16px on iOS (#7480)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user