-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
front: fix margin around scenario simulation results scrollbar #9869
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Navbar size varies according to screen size. If we choose one or the other, a scrollbar appears.
It might be better to set the navbar size to 40px (as seen with @thibautsailly).
ac0c046
to
1556ea9
Compare
I've dropped the first commit which changes the navbar size. I'll fix it separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and tested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm and tested
1556ea9
to
a4bc495
Compare
11aa32b
to
fbcfd06
Compare
The scrollbar was displayed with a margin on the right. Multiple issues here: - Two elements had the same "scenario-sidemenu" CSS class. - A CSS rule was overwriting Bootstrap's paddings for one column, but this messes up the layout because other columns weren't adjusted to take up more space. Use "no-gutters" instead, which is designed specifically for this use-case. - Drop the min/max widths for the train list, because this creates a weird blank space for some screen sizes. Leave it up to the parent column to pick a reasonable width. Signed-off-by: Simon Ser <[email protected]>
fbcfd06
to
e477866
Compare
Multiple issues here:
but this messes up the layout because other columns weren't
adjusted to take up more space. Use "no-gutters" instead, which
is designed specifically for this use-case.
a weird blank space for some screen sizes. Leave it up to the
parent column to pick a reasonable width.
Before:
After: