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
Hello, I would like to prevent line break only in css files where I add tailwind classes with @apply
In app.css I have for a quick example:
h1{
@apply text-red-500 uppercase
bg-red-100;
}
With a standard behavior on save I get:
h1{
@apply text-red-500 uppercase bg-red-100;
}
As you can see I can't preserve the line break inside the apply, so I wonder if there is a possibility to solve this problem or if there is a quicker solution to exclude the behavior of the plugin on all css files, keeping it active only in the HTML markup.
I don't use prettier or others, just html and css to test this problem.
Thanks for your time, see you soon 🤞🏼
The text was updated successfully, but these errors were encountered:
Hello, I would like to prevent line break only in css files where I add tailwind classes with @apply
In app.css I have for a quick example:
With a standard behavior on save I get:
As you can see I can't preserve the line break inside the apply, so I wonder if there is a possibility to solve this problem or if there is a quicker solution to exclude the behavior of the plugin on all css files, keeping it active only in the HTML markup.
I don't use prettier or others, just html and css to test this problem.
Thanks for your time, see you soon 🤞🏼
The text was updated successfully, but these errors were encountered: