FIX Vertically centre CMS logo icon in menu#2122
FIX Vertically centre CMS logo icon in menu#2122purplespider wants to merge 1 commit intosilverstripe:3.2from
Conversation
The Silverstripe CMS logo icon in the left menu sitename area is slightly lower than it should be since 6.2.0-beta1. Change the pseudo-element from vertical-align: middle to display: block so it centres correctly within its flex container.
|
Just to validate before I merge this, is "before" in your gif "before this PR" or "before the change in #1988 "? I ask because I thought it meant "before this PR" (since you said "The Silverstripe CMS logo icon in the left menu is slightly lower than it should be."), but I notice the icon is slightly lower when I apply this PR compared to the beta. |
|
Odd. It is "before this PR" as you thought, i.e. in |
|
I'm not trying to reproduce the bug, just the results after this PR. In my firefox browser, this PR makes the logo go down, but you say it should go up. That's all that's holding me up from merging. |
|
Sorry, Guy, my point was that maybe you're not seeing the bug in the first place, which would explain why you're not seeing the expected effects of the PR. Do you see the bug detailed in my last screenshots when you compare |





Description
The Silverstripe CMS logo icon in the left menu is slightly lower than it should be. This is a regression introduced in 6.2.0-beta1 by #1988, which added
vertical-align: middleto the.font-icon-silverstripe-cms:beforepseudo-element inside.cms-sitename__link, after wrapping it in aspanto hide the icon from screen readers.Manual testing steps
Issues
Pull request checklist
to be reverted, and submitted as a separate PR.