From 2bbcae7aa5fb362625d08f26bf59b8fa9f35f041 Mon Sep 17 00:00:00 2001 From: Laura Jaime Date: Mon, 2 Oct 2023 12:32:06 +0200 Subject: [PATCH] Fix align in newsletter preview --- .../newsletter_templates/basic_only_text/show.erb | 12 ++++++++++++ .../newsletter_templates/image_text_cta/show.erb | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/app/cells/decidim/newsletter_templates/basic_only_text/show.erb b/app/cells/decidim/newsletter_templates/basic_only_text/show.erb index 25ca279b..0482a6f4 100644 --- a/app/cells/decidim/newsletter_templates/basic_only_text/show.erb +++ b/app/cells/decidim/newsletter_templates/basic_only_text/show.erb @@ -11,6 +11,18 @@ .newsletter-body p { color: <%= body_font_color %> !important; } + + .ql-align-right { + text-align: right; + } + + .ql-align-center { + text-align: center; + } + + .ql-align-left { + text-align: left; + } <%# END DIBA CUSTOMIZATION %> diff --git a/app/cells/decidim/newsletter_templates/image_text_cta/show.erb b/app/cells/decidim/newsletter_templates/image_text_cta/show.erb index bd53b843..26aba70f 100644 --- a/app/cells/decidim/newsletter_templates/image_text_cta/show.erb +++ b/app/cells/decidim/newsletter_templates/image_text_cta/show.erb @@ -17,6 +17,18 @@ .newsletter-body p { color: <%= body_font_color %> !important; } + + .ql-align-right { + text-align: right; + } + + .ql-align-center { + text-align: center; + } + + .ql-align-left { + text-align: left; + } /* END DIBA CUSTOMIZATION */