Preloading CSS Jumps when tailwind.css is imported in main.js (Atlantis v6.0.0) #2671
Answered
by
colinatwork
colinatwork
asked this question in
PrimeVue Templates
-
Beta Was this translation helpful? Give feedback.
Answered by
colinatwork
Sep 10, 2024
Replies: 1 comment
-
After some amount of trial and error, I think I figured it out. It seems that tailwind is changing the To fix I added Hope this helps someone else! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
colinatwork
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ofcontent-box
toborder-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!