Skip to content

Commit a66e915

Browse files
committed
fix(docs): Links to Tailwind's v4 docs
1 parent 68dc668 commit a66e915

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/docs/components/tailwind.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ pnpm add @react-email/tailwind -E
4242

4343
## Getting started
4444

45+
<Info>The current `tailwindcss` version used for this component is `3.4.10`</Info>
46+
4547
Add the component around your email body content.
4648

4749
```jsx
@@ -75,7 +77,7 @@ const Email = () => {
7577

7678
<ResponseField name="config" type="object">
7779
Customize the default theme for your project with the available properties in
78-
[Tailwind docs](https://tailwindcss.com/docs/theme).
80+
[Tailwind docs](https://v3.tailwindcss.com/docs/theme).
7981
</ResponseField>
8082

8183
<Info>
@@ -188,7 +190,7 @@ and look these up later on the elements, and since `prose`, by using more compli
188190
cannot be directly inlined without matching the selectors to the elements, it isn't able to
189191
match the selectors appropriately.
190192

191-
This also means some other utilities do not work either, like the [`space-*` utility](https://tailwindcss.com/docs/space).
193+
This also means some other utilities do not work either, like the [`space-*` utility](https://v3.tailwindcss.com/docs/space).
192194

193195
The only exception for this inlining of styles is with media queries, as they are not inlinable. We do not
194196
do the same for `hover:` styles though, but since [their support is not best](https://www.caniemail.com/features/css-pseudo-class-hover/), you probably won't need it.

0 commit comments

Comments
 (0)