Skip to content

Conversation

@bbovenzi
Copy link
Contributor

In #29367 I address the issue of the grid view heights being too short simply by doubling the minimum height. This PR tries to come up with a better solution. Instead of calculating the window height and a top/bottom offset, we simply sit a maxHeight for the parent component of the entire grid view and then subtract the topOffset of each component that needs a scroll overflow.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Feb 16, 2023
@bbovenzi bbovenzi marked this pull request as ready for review February 17, 2023 21:39
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need such large bottom padding.

@bbovenzi bbovenzi force-pushed the fix-grid-view-heights branch from 214049c to fe72efe Compare February 23, 2023 21:27
@bbovenzi bbovenzi added this to the Airflow 2.6.0 milestone Feb 23, 2023
@bbovenzi bbovenzi merged commit 7af60d1 into apache:main Feb 23, 2023
@bbovenzi bbovenzi deleted the fix-grid-view-heights branch February 23, 2023 22:18
@bbovenzi bbovenzi modified the milestones: Airflow 2.6.0, Airflow 2.5.2 Feb 23, 2023
@pierrejeambrun pierrejeambrun added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Feb 27, 2023
@pierrejeambrun pierrejeambrun added type:improvement Changelog: Improvements and removed changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:improvement Changelog: Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants