-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(link): ensure Icon in component has inline display property to re…
…spect dimensions of the parent all children of anchor elements in `Link` have the inline-block display property applied. However due to our new `Icon` font sizes this now causes `Icon`s to not respect the dimensions of parent containers. To mitigate this we've set display to inline instead when `Link`s are rendered with no children and an `Icon`, ensuring the parents dimensions are properly respected fix #6295
- Loading branch information
1 parent
edea4cf
commit b215da6
Showing
3 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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