Skip to content

Double vertical scrollbar #250

@Privat33r-dev

Description

@Privat33r-dev

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.

Screenshot

Solution

Change these 2 lines

margin-bottom: 15px;
overflow-y: auto;

to

margin-bottom: 5px; 
overflow: hidden;

Notes

There still is a big room for improvement:

  1. Reduce footer size/move it to the left side
  2. Implement horizontal splitter
  3. Attempt to refresh if overflow detected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions