-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
fix: Align icon #11848
fix: Align icon #11848
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11848 +/- ##
==========================================
- Coverage 67.12% 63.65% -3.48%
==========================================
Files 915 915
Lines 44537 44529 -8
Branches 4235 4235
==========================================
- Hits 29897 28345 -1552
- Misses 14526 16006 +1480
- Partials 114 178 +64
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -31,6 +31,8 @@ interface FaveStarProps { | |||
|
|||
const StyledLink = styled.a` | |||
font-size: ${({ theme }) => theme.typography.sizes.xl}px; | |||
display: flex; |
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.
Hmm... obviously this works, so I'm tempted to approve, but I have to ask out of curiosity:
- Is there a reason to choose 'flex' over 'inline-block'?
- Since you are using flex, would
flex-directon: column
andjustify-content: space-around
negate the need to adjust the padding at all?
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.
LGTM, but posted a couple curiosity questions about the CSS approach.
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.
SUMMARY
Fix align star icon center
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE
AFTER
TEST PLAN
Log into Superset
Navigate to Charts
Select one chart
ADDITIONAL INFORMATION