Repository navigation
Centre the solana about image when the layout stacks - #15352
Open
SAMARTHJAISWAL wants to merge 1 commit into
Open
SAMARTHJAISWAL wants to merge 1 commit into
SAMARTHJAISWAL wants to merge 1 commit into
Conversation
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #15178.
In the
solanaabout template,.about-entitydeclaredalign-items: startafter themedia-breakpoint-down(lg)block. Sass outputs a declaration that comes after nested rules in a separate rule, later in the stylesheet, sostartoverrode the breakpoint'salign-items: centerat every width. This movesalign-items: startandjustify-content: space-betweenabove the breakpoint blocks, so the stacked layout centres the image like the text.Tested:
tests/docs/smoke-all/2026/11/12/issue-15178/(a small website with asolanaabout page): it checks that the basealign-items: startrule comes before the breakpoint'salign-items: centerrule in the compiled CSS. It fails onmainand passes with this change.2024/04/17/9356) still passes.column-reversewithalign-items: center, and the image centre lines up with the centre of the entity. At 1280px it is stillrowwithalign-items: start.Checklist
I have (if applicable):
AI-assisted PR