Limit width of html parts

This commit is contained in:
Peter J. Holzer 2019-03-01 22:49:55 +01:00
parent 36a640857c
commit 5ee7c066ca
2 changed files with 44 additions and 1 deletions

43
style/debug.css Normal file
View File

@ -0,0 +1,43 @@
.partouter {
border-style: solid;
border-width: 1px;
border-color: #0000FF;
}
.partinner {
border-style: dotted;
border-width: 1px;
border-color: #0000FF;
}
.partheader {
background-color: #0000FF;
color: #FFFFFF;
font-size: 70%;
}
th {
text-align: left;
}
.subject {
font-size: 1.2em;
color: #000088;
}
.text-enriched {
font-family: monospace;
white-space: pre-wrap;
}
.signature {
font-size: 0.8rem;
}
.dubious {
background-color: #888800;
}
.partinner.html {
max-width: 40rem;
}

View File

@ -2,7 +2,7 @@
<div class="partheader"> <div class="partheader">
text/html text/html
</div> </div>
<div class="partinner"> <div class="partinner html">
{{body}} {{body}}
</div> </div>
</div> </div>