Difference in font size and styling between app accessed via localhost ip address vs lan ip address

Hi,

I am running my app using the following line, since I want my app to be available over the network:

app.run_server(host='0.0.0.0', port=5080)

The app is accessible on local machine using the following 2 addresses:

  • 127.0.0.1:5080
  • 192.168.0.102:5080 (this is the lan ip address of my machine on which dash app is running)

When I open the app using localhost address, font sizes are smaller than the app running on lan ip address. See Image below:

Any possible explanation for this discrepancy? How do I make sure that both the versions have same font size.

Thanks

Hello @smalgotrader,

It looks as if one of your browsers is not set to the same zoom size.

1 Like

This is really embarassing for me, should have noticed it earlier before posting. Thanks for pointing it out!

1 Like

Sometimes it’s the simple things.

Makes it fun though. Haha.

1 Like