You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I came across the issue that column unset my text-align, because it adds text-align: inherit. As I am working mobile first, to solve this I would need to re-set my text-align across each breakpoint. This is not a big issue, but it was an unexpected quirk.
An example of the issue:
.examplecolumn(1/2)
text-align: right@media (min-width: 576px)
column(1/3) // outputs `text-align: inherit` which over-rides the text-align above
I found an older issue relating to this here, where it seems like it the solution was removing text-align: inherit from column.
Is there a reason for setting text-align: inherit that I am missing, or can this be removed? (Perhaps due to stack having an align option that sets text-align?)
Today I came across the issue that
columnunset mytext-align, because it addstext-align: inherit. As I am working mobile first, to solve this I would need to re-set my text-align across each breakpoint. This is not a big issue, but it was an unexpected quirk.An example of the issue:
I found an older issue relating to this here, where it seems like it the solution was removing
text-align: inheritfromcolumn.Is there a reason for setting
text-align: inheritthat I am missing, or can this be removed? (Perhaps due tostackhaving analignoption that setstext-align?)