Update the splash screen for mobile viewports.#12721
Conversation
🎭 Playwright reports for 23edbef: 📚 Storybook for 23edbef: 📦 Build files for 23edbef:
|
|
Size Change: +52.5 kB (+2.28%) Total Size: 2.36 MB 📦 View Changed
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Please rename this file to assets/svg/graphics/splash-screenshot-mobile.svg.
| @media (max-width: $bp-desktop) { | ||
| align-items: content; | ||
| display: flex; | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| @media (max-width: $bp-tablet) { | ||
| .googlesitekit-setup__splash-graphic-screenshot { | ||
| max-height: none; | ||
| } | ||
| } | ||
|
|
There was a problem hiding this comment.
I'm not sure if I'm missing something, but these styles don't seem to be needed. Also, content isn't a valid value for the align-items property.
| @media (max-width: $bp-desktop) { | |
| align-items: content; | |
| display: flex; | |
| overflow: hidden; | |
| } | |
| @media (max-width: $bp-tablet) { | |
| .googlesitekit-setup__splash-graphic-screenshot { | |
| max-height: none; | |
| } | |
| } |
|
|
||
| .googlesitekit-setup__splash-graphic-screenshot { | ||
| bottom: 0; | ||
| } |
There was a problem hiding this comment.
Again, I might be missing something here but this doesn't seem needed:
| .googlesitekit-setup__splash-graphic-screenshot { | |
| bottom: 0; | |
| } |
There was a problem hiding this comment.
I added it when I was styling the screenshot on mobile, but seems like this is not required. Removed it.
| @@ -138,9 +137,37 @@ | |||
There was a problem hiding this comment.
I think these properties should also be removed:
| margin-bottom: $grid-gap-desktop; |
|
Thanks @techanvil for reviewing the PR. I've addressed the feedback and sending your way for another review. |

Summary
Addresses issue:
Relevant technical choices
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist