Last active
August 29, 2018 14:17
-
-
Save claudia-romano/481a3c7e32834b3756b76317257cb9b8 to your computer and use it in GitHub Desktop.
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
/* add this class to parent element that contains icon + text */ | |
.icon-text-aligner { | |
display: flex; | |
align-items: center; | |
> *:nth-child(2) { | |
margin-left: var(--space-xxs); | |
} | |
.icon { | |
color: inherit; | |
flex-shrink: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment