Replies: 1 comment
-
Off topic A small side note unrelated to the issue: since v4, Instead of the manually specified |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Tailwind CSS are you using?
4.1.13
What build tool (or framework if it abstracts the build tool) are you using?
gulp 4.0.2
What version of Node.js are you using?
v22.15.0
What browser are you using?
Edge
What operating system are you using?
Windows 10
Describe your question
I use spfx with React 17 version and rsuite for components (yeah, pretty old). So the problem was with applying adaptive width to rsuite component
className="tw:lg:w-[400px] tw:xl:w-[500px]"
.When screen is xl (1280 px and more)
style is actually correct:
but when I shrink display to less than xl this css became:
while it should be 400px
Steps to reproduce:
There is some context how tailwind is applied to spfx:
this code should be put in middle of
gulpfile.js
:(I added prefix for more separation tailwind classes)
tailwind.css
:tailwind.config.js
:Beta Was this translation helpful? Give feedback.
All reactions