Detect userAgent to resize the fonts