-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[ui] Fix layout for global banner #18817
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit d98603e. |
f206452
to
a243d2e
Compare
[INTERNAL_BRANCH=dish/banners]
a243d2e
to
d98603e
Compare
overflow: hidden; | ||
`; |
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.
Does this need overflow scroll? or is Main the scroller?
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.
MainContent
is the scrollable child, as defined in ContentRoot
. ContentRoot
is passed in as children
here.
## Summary & Motivation The global banner some users are seeing in Cloud is breaking the layout. This is because the banner pushes the main content down below the edge of the viewport. To resolve this, modify the core layout component to accommodate the banner by passing it as a prop. ## How I Tested These Changes Force a banner to appear on the page. Click around throughout the app, verify that pages render correctly and can be scrolled correctly as well, including pages with virtualized tables and DAG views. (cherry picked from commit c1eafcc)
Summary & Motivation
The global banner some users are seeing in Cloud is breaking the layout. This is because the banner pushes the main content down below the edge of the viewport.
To resolve this, modify the core layout component to accommodate the banner by passing it as a prop.
How I Tested These Changes
Force a banner to appear on the page. Click around throughout the app, verify that pages render correctly and can be scrolled correctly as well, including pages with virtualized tables and DAG views.