[PR #175] [MERGED] feat(render): allow container styles override #434

Closed
opened 2026-03-15 02:14:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/arikchakma/maily.to/pull/175
Author: @318h7
Created: 4/4/2025
Status: Merged
Merged: 4/6/2025
Merged by: @arikchakma

Base: mainHead: feat(renderer)--container-styles-override


📝 Commits (3)

  • cef05c4 feat(render): allow container styles override
  • ce296d8 fix: remove console log
  • ecc8a83 fix: container styles

📊 Changes

1 file changed (+11 additions, -12 deletions)

View changed files

📝 packages/render/src/maily.tsx (+11 -12)

📄 Description

  • Add possibility to override the container styles via theme

Default container:
image

Overriden styles using:

maily.setTheme({
  container: {
    maxWidth: '100%',
    minWidth: '100%',
    marginLeft: 'none',
    marginRight: 'none',
  }
 });
image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/arikchakma/maily.to/pull/175 **Author:** [@318h7](https://github.com/318h7) **Created:** 4/4/2025 **Status:** ✅ Merged **Merged:** 4/6/2025 **Merged by:** [@arikchakma](https://github.com/arikchakma) **Base:** `main` ← **Head:** `feat(renderer)--container-styles-override` --- ### 📝 Commits (3) - [`cef05c4`](https://github.com/arikchakma/maily.to/commit/cef05c40986bf4349e015aa096247386bd4dfe9d) feat(render): allow container styles override - [`ce296d8`](https://github.com/arikchakma/maily.to/commit/ce296d858ab1a568a8bd76e365c1c2ac14f6402e) fix: remove console log - [`ecc8a83`](https://github.com/arikchakma/maily.to/commit/ecc8a83e2ca5bda0268f2713e169b22c5913aa4a) fix: container styles ### 📊 Changes **1 file changed** (+11 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/render/src/maily.tsx` (+11 -12) </details> ### 📄 Description - Add possibility to override the container styles via theme Default container: <img width="1800" alt="image" src="https://github.com/user-attachments/assets/c051fb81-7ea7-48af-a691-db631578c9b2" /> Overriden styles using: ``` maily.setTheme({ container: { maxWidth: '100%', minWidth: '100%', marginLeft: 'none', marginRight: 'none', } }); ``` <img width="1800" alt="image" src="https://github.com/user-attachments/assets/5a5e5f4d-673e-4ae1-83bb-a2a53e40ab19" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 02:14:31 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/maily.to#434
No description provided.