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
设置为auto
或scroll
。
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.