Skip to content

Commit

Permalink
Merge pull request #1739 from hydephp/1730-typography-fixtures-should…
Browse files Browse the repository at this point in the history
…-use-class-instead-of-classname

Update test fixtures to use "class" instead of "className"
  • Loading branch information
caendesilva authored Jun 27, 2024
2 parents 3c7939b + 26cd19a commit 12ce55b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/fixtures/_posts/typography-front-matter.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ image:

<!-- Fixture from https://github.com/tailwindlabs/tailwindcss-typography/blob/master/demo/components/MarkdownSampleShort.mdx, licensed under the MIT license. -->

<p className="lead">
<p class="lead">
Until now, trying to style an article, document, or blog post with Tailwind has been a very
tedious task.
</p>
Expand All @@ -30,7 +30,7 @@ The `@tailwindcss/typography` plugin is our attempt to give you what you _actual

> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too?
<div className="not-prose">
<div class="not-prose">
<h2>Shouldn't be colored</h2>
</div>

Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/_posts/typography-simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: A TailwindCSS Typography demo with little front matter.

<!-- Fixture from https://github.com/tailwindlabs/tailwindcss-typography/blob/master/demo/components/MarkdownSampleShort.mdx, licensed under the MIT license. -->

<p className="lead">
<p class="lead">
Until now, trying to style an article, document, or blog post with Tailwind has been a very
tedious task.
</p>
Expand All @@ -16,7 +16,7 @@ The `@tailwindcss/typography` plugin is our attempt to give you what you _actual

> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too?
<div className="not-prose">
<div class="not-prose">
<h2>Shouldn't be colored</h2>
</div>

Expand Down

0 comments on commit 12ce55b

Please sign in to comment.