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
I found bug on Tailwind on setting order. for some reason when. I have 3 elements in 1 flex container, and I was need to push middle element underneath 2 on elements on left&right on small screens, and place all 3 elements in row on large screens. I set className={"order-3 md:order-2"}, but on any size middle element appear at end. like it's order still 3. I added my own CSS rule to element, without tailwind. I put @media screen and (max-width:767px) { .element { order: 3; } }. And it works as should. Hope it's real bug, and not my misunderstanding. And I hope this report will help you to fix it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I found bug on Tailwind on setting order. for some reason when. I have 3 elements in 1 flex container, and I was need to push middle element underneath 2 on elements on left&right on small screens, and place all 3 elements in row on large screens. I set className={"order-3 md:order-2"}, but on any size middle element appear at end. like it's order still 3. I added my own CSS rule to element, without tailwind. I put @media screen and (max-width:767px) { .element { order: 3; } }. And it works as should. Hope it's real bug, and not my misunderstanding. And I hope this report will help you to fix it.
Beta Was this translation helpful? Give feedback.
All reactions