-
Notifications
You must be signed in to change notification settings - Fork 293
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
Incorrect modal top position after scrolling on small screens #5358
Comments
@asvinb do you mind reviewing this ticket? |
IB ✅ |
18 tasks
QA Update: ✅Verified:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
Bug bash issue: https://app.asana.com/0/1202258919887896/1202442610474584 please refer to Asana issue for background
The modal is incorrectly positioned on small screens after scrolling down the page. The reason is upon initial page load, there's the WP admin bar, which is not sticky, thus leaving the white space at the top.
Steps to reproduce
Screenshots
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
/assets/sass/components/global/_googlesitekit-dialog.scss
, add styles to.googlesitekit-dialog
wrapped with.admin-bar.googlesitekit-plugin--has-scrolled
:top: 0;
only for small devices, i.e. from tablet breakpoint, it should be set totop: 23px;
, e.g.:/assets/sass/components/global/_googlesitekit-dialog.scss
, add styles to.googlesitekit-dialog .mdc-dialog__surface
wrapped with.admin-bar.googlesitekit-plugin--has-scrolled
:height: 100vh;
only for small devices, i.e. from tablet breakpoint, it should be set toheight: auto;
, e.g.:Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: