Skip to content

Commit

Permalink
Correct the use of TailwindCSS JIT class (#5473)
Browse files Browse the repository at this point in the history
A recent change was made to the root.html.heex layout - "Use tailwind JIT to accommodate CSP"

However in that change, the syntax used was slightly incorrect (an extra space character), so TailwindCSS was not able to interpret the "arbitary property"

Correcting this change by omitting the space character.

(see the TailwindCSS docs for more information on the expected syntax https://tailwindcss.com/docs/adding-custom-styles#arbitrary-properties)
  • Loading branch information
rickclare committed May 26, 2023
1 parent e3fb23a commit 3085b13
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" class="[scrollbar-gutter: stable]">
<html lang="en" class="[scrollbar-gutter:stable]">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down

0 comments on commit 3085b13

Please sign in to comment.