简体   繁体   中英

Can I move the scrollbar, and make it always visible?

在此输入图像描述在此输入图像描述

When I expand one of my nodes, and the data goes down below the bottom of the window, the scrollbar appears and makes the top bar squish up a bit. Is there any way I can make the scrollbar only show in the bottom white area. Also, can I make it always show even if it's not needed, so it doesn't appear and disappear?

将白色区域设置为固定高度,并将overflow设置为autoscroll

I would just use a css 'min-height' on an element that can be larger than the window; body { min-height: 101%; } body { min-height: 101%; } might do it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM