make mail responsive

This commit is contained in:
Guilherme Rugai Freire 2024-07-21 02:14:16 -03:00
parent 661922ce35
commit c9f73e4a98
No known key found for this signature in database
GPG Key ID: AC1D9B6E48E16AC1

View File

@ -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>
}