0

my meteor app was able to run in browser just fine even i access my webapp from my phone is ok but when i try to build it as apk the layout all gone wrong. i suspect it have wrong line height but after all the debugging i still can't found out why. is there any specific CSS or font rule in cordova meteor app i dont know? from phone app

enter image description here

and from phone browser

enter image description here

i had checked all css rule are the same is just that the same line height but in the phone app is display incorrectly.

Prasad Khode
  • 6,602
  • 11
  • 44
  • 59
Potato
  • 770
  • 1
  • 8
  • 18

2 Answers2

0

It was the system device font size that cause the problem found a fix by following Phonegap : how Control the font size of the Mobile?

Community
  • 1
  • 1
Potato
  • 770
  • 1
  • 8
  • 18
0

try using the below meta tag, put it in your head file.

 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
hafiz ali
  • 1,378
  • 1
  • 13
  • 33