Skip to content

Commit

Permalink
chore: fix svelte check warning for tailwind css code
Browse files Browse the repository at this point in the history
If there's no language specified for the style tag, the compiler thinks it's vanilla css and will output a warning. When adding `lang="postcss"` the compiler knows that we use tailwind directives and won't output that warning.
  • Loading branch information
Slartibartfass2 committed Dec 12, 2024
1 parent 4bffa5b commit 0620697
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Usage:
{/if}
</div>

<style>
<style lang="postcss">
.review-decision {
@apply absolute top-6 left-6 h-5 w-5 flex justify-center items-center rounded-full;
}
Expand Down

0 comments on commit 0620697

Please sign in to comment.