-
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: drop hardcoded scenario header height, second take #8028
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 #8028 +/- ##
============================================
- Coverage 28.07% 28.06% -0.01%
Complexity 2075 2075
============================================
Files 1288 1288
Lines 157712 157708 -4
Branches 3121 3121
============================================
- Hits 44281 44268 -13
- Misses 111554 111563 +9
Partials 1877 1877
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c8d4699
to
897fa7c
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 (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 !
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".
897fa7c
to
35e3669
Compare
Dropped the first commit because similar changes have been made in Clara's lazy loading patches. |
If the scenario description is empty, or shorter than 4 lines, collapse it instead of eating up screen real estate. [1] made this possible. [1]: #8028
If the scenario description is empty, or shorter than 4 lines, collapse it instead of eating up screen real estate. [1] made this possible. [1]: #8028
See individual commits.
This is a re-do of #7993, which got reverted in #8015 because of a bug when the timetable contains lots of trains.