-
Notifications
You must be signed in to change notification settings - Fork 46
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: drop hardcoded scenario header height #7993
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #7993 +/- ##
============================================
- Coverage 28.25% 28.24% -0.02%
Complexity 2075 2075
============================================
Files 1276 1276
Lines 156193 156190 -3
Branches 3084 3084
============================================
- Hits 44136 44115 -21
- Misses 110216 110234 +18
Partials 1841 1841
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
883e966
to
2fe805a
Compare
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 thank you!!! Tested
The scenario header size is hardcoded to 8rem. Replace these rules with a flexbox-based layout.
2fe805a
to
9a0f302
Compare
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
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, tested ✅
This is a re-do of #7993, which got reverted in #8015 because of a bug when the timetable contains lots of trains. In a flex context, the implicit default value for min-height is auto, and that prevents elements from overflowing with a scrollbar (because min-height wins against height and max-height). Override the default with "min-height: 0".
This is a re-do of #7993, which got reverted in #8015 because of a bug when the timetable contains lots of trains. In a flex context, the implicit default value for min-height is auto, and that prevents elements from overflowing with a scrollbar (because min-height wins against height and max-height). Override the default with "min-height: 0".
This is a re-do of #7993, which got reverted in #8015 because of a bug when the timetable contains lots of trains. In a flex context, the implicit default value for min-height is auto, and that prevents elements from overflowing with a scrollbar (because min-height wins against height and max-height). Override the default with "min-height: 0".
The scenario header size is hardcoded to 8rem. Replace these rules with a flexbox-based layout.