From 3b0b023624e1bf2f1b9d347c23b2f1553538cc61 Mon Sep 17 00:00:00 2001 From: Konrad Date: Tue, 18 Mar 2025 15:24:44 +0100 Subject: [PATCH] Remove unused styles Class "btn": not used in any of the emails and invoices Class "column-wrap": not used in any of the emails and invoices Class "collapse": margin and padding are set globally to zero already, padding is not used, but we need margin to overwrite it for h6 --- app/assets/stylesheets/mail/email.scss | 31 ++++---------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/app/assets/stylesheets/mail/email.scss b/app/assets/stylesheets/mail/email.scss index 928b9e5807..d137f6c7f8 100644 --- a/app/assets/stylesheets/mail/email.scss +++ b/app/assets/stylesheets/mail/email.scss @@ -12,11 +12,6 @@ img { max-width: 100%; } -.collapse { - margin: 0; - padding: 0; -} - body { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; @@ -32,18 +27,6 @@ a { color: #0096ad; } -.btn { - text-decoration: none; - color: #FFF; - background-color: #666; - padding: 10px 16px; - font-weight: bold; - margin-right: 10px; - text-align: center; - cursor: pointer; - display: inline-block; -} - p.callout { padding: 15px; background-color: #e1f0f5; @@ -187,6 +170,10 @@ table.head-wrap { background-color: #f2f2f2; } +.collapse { + margin: 0; +} + /* ------------------------------------- * BODY *------------------------------------- */ @@ -263,10 +250,6 @@ h6 { color: #999; } -.collapse { - margin: 0 !important; -} - p, ul { margin-bottom: 10px; font-weight: normal; @@ -378,12 +361,6 @@ ul { } } -.column-wrap { - padding: 0 !important; - margin: 0 auto; - max-width: 600px !important; -} - .column table { width: 100%; }