(css) Constrain absolute elements in HTML parts

This commit is contained in:
Francis Lachapelle
2019-05-16 11:26:22 -04:00
parent b671c9cc80
commit a4e44e1e65
2 changed files with 11 additions and 5 deletions
+10 -5
View File
@@ -252,11 +252,16 @@ md-sidenav {
}
}
// Force wrapping of pre elements in HTML content
.mailer_htmlcontent pre {
white-space: pre-wrap;
word-wrap: break-word;
tab-size: 4;
.mailer_htmlcontent {
// Constrain absolute-positioned child elements to this element
position: relative;
// Force wrapping of pre elements in HTML content
pre {
white-space: pre-wrap;
word-wrap: break-word;
tab-size: 4;
}
}
.sg-mail-editor {