small pdf layout fixes for news

workspace
Brendan Howell 6 years ago
parent 457d856816
commit 2d4b5886f6

@ -28,7 +28,7 @@
a::after { a::after {
counter-increment: sidenote-counter; counter-increment: sidenote-counter;
content: counter(sidenote-counter); content: counter(sidenote-counter);
font-size: smaller; font-size: 7pt;
vertical-align: super; vertical-align: super;
} }
#twocol { #twocol {

@ -120,6 +120,13 @@
height: auto; height: auto;
} }
.mail .mailrow { .mail .mailrow {
width: 100%;
clear: both;
}
.mail .mailheader {
padding-top: 3pt;
border-top: 0.1pt solid black;
width: 100%;
clear: both; clear: both;
} }
</style> </style>
@ -149,7 +156,7 @@
% for msg in inbox: % for msg in inbox:
<div class="mail"> <div class="mail">
<div class="mailrow"> <div class="mailheader">
<div class="mailsender">${msg["fromname"]} ${msg["fromaddr"]}</div> <div class="mailsender">${msg["fromname"]} ${msg["fromaddr"]}</div>
<div class="mailsubject">${msg["subject"]}</div><div class="maildate">${msg["date"]}</div> <div class="mailsubject">${msg["subject"]}</div><div class="maildate">${msg["date"]}</div>
</div> </div>

Loading…
Cancel
Save