mirror of
https://github.com/GRFreire/nthmail.git
synced 2026-01-09 04:49:39 +00:00
make mail responsive
This commit is contained in:
parent
661922ce35
commit
c9f73e4a98
@ -325,6 +325,7 @@ templ styles() {
|
||||
margin: 4px 0;
|
||||
background: #262626;
|
||||
padding: 8px;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
body.mail .mail-header div:nth-child(odd) {
|
||||
@ -349,5 +350,13 @@ templ styles() {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
@media (max-width: 1500px) {
|
||||
body.mail .mail-header, body.mail main {
|
||||
width: 90%;
|
||||
max-width: 975px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user