mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Cleanup \MailSo\Base\HtmlUtils::BuildHtml()
This commit is contained in:
parent
eb98c0713a
commit
bb7d8e85a0
3 changed files with 62 additions and 199 deletions
1
dev/External/SquireUI.js
vendored
1
dev/External/SquireUI.js
vendored
|
|
@ -42,7 +42,6 @@ const
|
|||
.replace(/<span[^>]*>\s*<\/span>/gi,'')
|
||||
.trim();
|
||||
tpl.querySelectorAll('a:empty,span:empty').forEach(el => el.remove());
|
||||
tpl.querySelectorAll('[data-x-div-type]').forEach(el => el.replaceWith(getFragmentOfChildren(el)));
|
||||
if (isPaste) {
|
||||
tpl.querySelectorAll(removeElements).forEach(el => el.remove());
|
||||
tpl.querySelectorAll('*').forEach(el => {
|
||||
|
|
|
|||
|
|
@ -345,13 +345,6 @@ html.rl-no-preview-pane {
|
|||
height: 100%;
|
||||
padding: 10px;
|
||||
|
||||
div[data-x-div-type=html] {
|
||||
height: 100%;
|
||||
div[data-x-div-type=body] {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
|
|
@ -377,11 +370,6 @@ html.rl-no-preview-pane {
|
|||
|
||||
&.html {
|
||||
|
||||
div[data-x-div-type=body] {
|
||||
/*padding: 15px;*/
|
||||
margin: 15px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 90vw;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue