After solving the ElementUI height of 100%, the overall page height is the height of the window (height is insufficient)

Hits: 0

Note: Since the [ElementUI] sidebar needs to be filled to the full screen, the height of html, body and #app is set to 100%. When the content exceeds, the height of #app is the height of the viewport (window), similar to the following figure

Add the following css code to the main page to solve the problem perfectly {
    overflow: auto;

You may also like...

Leave a Reply

Your email address will not be published.