Project

General

Profile

Defect #44442 » 0001-Hide-SVG-icons-in-HTML-email-notifications-to-avoid-.patch

Go MAEDA, 2026-09-12 06:15

View differences:

app/views/layouts/mailer.html.erb
13 13
a, a:link, a:visited { color: #1864ab; /* oc-blue-9 */ }
14 14
a:hover, a:active { color: #c92a2a; /* oc-red-9 */ }
15 15
a.wiki-anchor { display: none; }
16
/* Hide SVG sprite icons: mail clients cannot render them, and those
17
   that keep <svg> would lay them out as 300x150px blank boxes */
18
svg { display: none; }
16 19
fieldset.attachments {
17 20
  border-width: 1px 0 0 0;
18 21
  border-style: solid;
......
86 89
  margin: 1em 0;
87 90
}
88 91
.markdown-alert-title { font-weight: bold;}
89
.markdown-alert-title svg { display: none; }
90 92
.markdown-alert-tip { border-color: #37b24d; /* oc-green-7 */}
91 93
.markdown-alert-tip .markdown-alert-title { color: #2b8a3e; /* oc-green-9 */ }
(2-2/2)