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
- Vertical: `<div role="separator">`with `line-height` (and `mso-line-height-alt` when `msoHeight` is set). Without `height`, collapses to a zero-width joiner (line-break).
319
+
- Vertical: `<div role="separator">`containing a zero-width joiner. Size with `h-*` or `leading-*`.
322
320
- Horizontal: `<i>` with em-space chars and `mso-font-width` for accurate Outlook sizing.
|`<Img src="..." width="150">`|`<Img src="..." width="150">`|`width` is required. Adds `dark-src` and `motion-src` for variant images via `<picture>`. |
38
-
|`<Hr>`|`<Hr>`| Maizzle's `<Hr>` is a styled `<div>` with default 1px gray bg + 24px vertical margin. Override with Tailwind classes (`bg-gray-200 my-8`) or props: `height`, `space-y`, `space-x`, `top`, `bottom`, `left`, `right`. Drop React Email's `border-solid border-*`. |
38
+
|`<Hr>`|`<Hr>`| Maizzle's `<Hr>` is a styled `<div>` with defaults `h-px leading-px my-6 bg-slate-300`. Override via class: `bg-*`, `m*-*`, and `h-*` or `leading-*`. Drop React Email's `border-solid border-*`. |
39
39
|`<CodeBlock code language="js" theme={dracula}>`|`<CodeBlock code="..." language="js" theme="github-light">`| Theme is a Shiki theme name (string), not an imported object. |
40
40
|`<CodeInline>`|`<CodeInline>`| Same. |
41
41
|`<Markdown>{content}</Markdown>`|`<Markdown>content</Markdown>`| Also accepts `src` for `.md` files. |
@@ -46,7 +46,7 @@ Vue templates need a colon prefix to bind dynamic values (`:href="resetUrl"`); s
46
46
| Component | Purpose |
47
47
|---|---|
48
48
|`<Layout>`| Full document scaffold: `html` + `head` (charset/viewport/format-detection meta, MSO font reset, Tailwind import, Inter font, color-scheme meta) + `body` + `<div role="article">`. Replaces the `Html > Tailwind > Head + Body` chain. Props: `lang`, `dir`, `body-class`, `aria-label`, `double-head`, `outlook-fallback`. |
0 commit comments