Home > Back-end >  Scroll content is not fully visible to the user when user zooms to 175%
Scroll content is not fully visible to the user when user zooms to 175%

Time:08-09

I have hidden the <body> scroll and given height with scroll for div, but the scroll content is not fully visible to the user when user zooms to 175%

body {
    overflow: hidden;
}

div {
    height: 50rem;
    overflow-y: auto
}

How do I make the scroll content visible?

CodePudding user response:

use vh height like height:50vh

  • Related