Skip to content

Preloading CSS Jumps when tailwind.css is imported in main.js (Atlantis v6.0.0) #2671

Discussion options

You must be logged in to vote

After some amount of trial and error, I think I figured it out. It seems that tailwind is changing the box-sizing CSS property from the default of content-box to border-box in :before modifiers.

To fix I added box-sizing: content-box !important; to both .layout-preloader-container .layout-preloader:before and .layout-preloader-container .layout-preloader span:before classes.

Hope this helps someone else!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by colinatwork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant