fix icon-text icon margin for rtl

This commit is contained in:
Burak Ozdemir 2021-01-27 22:01:02 +03:00 committed by Jeremy Thomas
parent 4891c6382e
commit 7e0ea44a47

View File

@ -32,9 +32,15 @@ $icon-text-spacing: 0.25em !default
flex-grow: 0
flex-shrink: 0
&:not(:last-child)
margin-right: $icon-text-spacing
+ltr
margin-right: $icon-text-spacing
+rtl
margin-left: $icon-text-spacing
&:not(:first-child)
margin-left: $icon-text-spacing
+ltr
margin-left: $icon-text-spacing
+rtl
margin-right: $icon-text-spacing
div.icon-text
display: flex