From 8a5b007bc47e30380f0368e82900693f1f7b9cba Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 19 Feb 2025 09:07:00 +0530 Subject: [PATCH] feat: update vue-letter and allow transform css (#10865) Emails from iOS and MacOS clients can often come with size transformation. This results in a broken layout when sanitizing with Vue letter. This PR updates the vue-letter to include the [recent changes made there](https://github.com/mat-sz/vue-letter/pull/2). And adds the `transform` and `transform-origin` properties to the allow list Ref: https://www.caniemail.com/features/css-transform/ --------- Co-authored-by: Muhsin Keloth --- .../message/bubbles/Email/Index.vue | 11 ++++++++++ package.json | 3 ++- pnpm-lock.yaml | 21 +++++++++++-------- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/app/javascript/dashboard/components-next/message/bubbles/Email/Index.vue b/app/javascript/dashboard/components-next/message/bubbles/Email/Index.vue index ea2f57f34..05031f055 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Email/Index.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Email/Index.vue @@ -1,6 +1,7 @@