-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Adds back in icon and title for gallery block #27293
Conversation
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.
Wow, yeah. Bring it home!
Size Change: +14 B (0%) Total Size: 1.2 MB
ℹ️ View Unchanged
|
I just refactored based on your advice @jasmussen, it seems some classes do need to get back and that's great we can still have benefits but select a little more exact. Here is the full flow running this PR (note it uses the modern style now which 5.5 introduced so that's the visual difference - so great to see the iterations there): |
All good to go! |
The gallery block's title and icon are missing as of the latest build. Here is what currently shows - giving context with other blocks.
Before:
It seems as if this was removed as part of G2 PR #19344. As the other blocks still have these, I would suggest bringing them back for the gallery block.
After:
Additional fixes included
In addition to bringing back these, I also brought in a padding inheritance fix for the block on hover. There are no visual changes as a result to that. Props to @jasmussen for noting in #27252 this could be reduced in code. I'm adding this to group iterations.
I also discovered that I could remove the margin value from the button as part of this fix now it's inheriting. Here is after on select:
Feedback
I'd love a code review to check everything is working and also input whether this is a suitable reverting.