-
Notifications
You must be signed in to change notification settings - Fork 254
Description
Problerm
Sometimes, double vertical scrollbar appears in rooms with multiple terminals, like https://training.play-with-docker.com/swarm-stack-intro/ . To reproduce open F12 developer console, dock it to the bottom and slowly slide its size up or down. You will see double scrollbar sometimes (between "jumps" from the script to match lines size and console px size). If you are lucky, sometimes it can be reproduced just by opening the link (I guess on my screenshot it was related to closed connection with instances).
Another issue is there is too wide gap between terminals, so the space utilization is suboptimal.
Solution
Change these 2 lines
play-with-docker.github.io/_sass/_layout.scss
Lines 206 to 207 in e996549
| margin-bottom: 15px; | |
| overflow-y: auto; |
to
margin-bottom: 5px;
overflow: hidden;Notes
There still is a big room for improvement:
- Reduce footer size/move it to the left side
- Implement horizontal splitter
- Attempt to refresh if overflow detected
