JavaScript Windows screen scale messing up css sizes windows screen scale,windows 10 screen scale,windows scale screen

Having a weird issue, on Windows 10 in the screen settings on some laptops the default value (the recommended) is 125% so when opening a web page everything is to big because the page was build for 100%

How this can be handled? css? JS? honestly don't know how to approach this

Details:

  • Web app built with React.
  • In 100% everything is scaled correctly
  • From the problematic laptop other websites are scaled correctly (with the settings on 125%)
  • Problematic laptop (don't know if this is relevant) Lenevo yoga 730 15inch

Thanks

Answer:1

You might try to add a viewport meta tag in the head section of your index.html:

  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
Answer:2

Has anyone implemented sending and receiving signals with opentok-react https://github.com/aiham/opentok-react? I can't find even a simple example on how to do it in React using opentok-react.

Has anyone implemented sending and receiving signals with opentok-react https://github.com/aiham/opentok-react? I can't find even a simple example on how to do it in React using opentok-react.

i created an state in constructor, and setState in componentDidmount, when i try to render that state object to screen, it is throwing error, server im using is node API, and every other things are ...

i created an state in constructor, and setState in componentDidmount, when i try to render that state object to screen, it is throwing error, server im using is node API, and every other things are ...

  1. react state rendering
  2. react state not rendering
  3. react state change not rendering

I am creating an app in where a user have to enter their car details.I've created a form and have successfully able to update the input datas into the database on Parse.com.I want to use the database ...

I am creating an app in where a user have to enter their car details.I've created a form and have successfully able to update the input datas into the database on Parse.com.I want to use the database ...

  1. autocomplete suggestions in angularjs
  2. autocomplete suggestions in excel
  3. autocomplete suggestions in php
  4. suggestions for autocomplete
  5. remove autocomplete suggestions from

My firebase method onAuthStateChanged() trigger several times when I sign in and out using firebase-authentication according to console.log. Isn't it supposed to trigger only once at login and once at ...

My firebase method onAuthStateChanged() trigger several times when I sign in and out using firebase-authentication according to console.log. Isn't it supposed to trigger only once at login and once at ...