-
Notifications
You must be signed in to change notification settings - Fork 170
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
Set icon alignment in paragraph to text-bottom #5314
Set icon alignment in paragraph to text-bottom #5314
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Percy build shows that icons inline with paragraphs are now dipping below the baseline, so they're a bit too low. Possibly they need to be nudged slightly upwards or have their height changed? |
the issue this fixes specifies middle, not text bottom. May I ask why this pr is setting it to text-bottom? |
@jmuzina The behaviour with My past experience solving this kind of issues was to embed svgs into a font (using, for instance glyphter) - which offers more control in the way the icons shows but comes with drawbacks (extra woff file to download + accessibility concerns). @lyubomir-popov Small typo on my end - it's actually set to |
Received verbal design +1 from @lyubomir-popov in standup today |
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.
Looks good, thanks!
Done
vertical-align
set tomiddle
Fixes #5103
Fixes WD-13630
QA
Check if PR is ready for release
If this PR contains Vanilla SCSS code changes, it should contain the following changes to make sure it's ready for the release:
Feature 🎁
,Breaking Change 💣
,Bug 🐛
,Documentation 📝
,Maintenance 🔨
.package.json
should be updated relative to the most recent release, following semver convention:Screenshots
[if relevant, include a screenshot or screen capture]