Skip to content

Commit

Permalink
Fix align in newsletter preview
Browse files Browse the repository at this point in the history
  • Loading branch information
laurajaime committed Oct 2, 2023
1 parent f5681d3 commit 2bbcae7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/cells/decidim/newsletter_templates/basic_only_text/show.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
</style>
<%# END DIBA CUSTOMIZATION %>

Expand Down
12 changes: 12 additions & 0 deletions app/cells/decidim/newsletter_templates/image_text_cta/show.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
</style>

Expand Down

0 comments on commit 2bbcae7

Please sign in to comment.