Skip to content

Fix: Replaced Tailwind classes with inline styles in XSL template - #214

Merged
freekmurze merged 1 commit into
spatie:mainfrom
codeldev:fix/xsl-tailwind-classes
Jan 5, 2026
Merged

Fix: Replaced Tailwind classes with inline styles in XSL template#214
freekmurze merged 1 commit into
spatie:mainfrom
codeldev:fix/xsl-tailwind-classes

Conversation

@codeldev

Copy link
Copy Markdown

The atom.xsl template uses Tailwind CSS classes (flex, items-start, mr-5) but Tailwind is not loaded in the feed stylesheet, so these classes have no effect.

This PR replaces them with equivalent inline styles.

Changes

  • class="flex items-start"style="display: flex; align-items: flex-start;"
  • class="mr-5"margin-right: 1.25rem (added to existing style attribute)

No tests given as there are no behavioural changes. This fix just ensures the intended styling actually applies.

@freekmurze
freekmurze merged commit 802ec6c into spatie:main Jan 5, 2026
6 checks passed
@freekmurze

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants