Fix mail preview blank page styling

This commit is contained in:
Hadi Nategh 2022-07-27 15:37:03 +02:00
parent 6ac41f0495
commit e7e538fffe
2 changed files with 15 additions and 2 deletions

View File

@ -304,7 +304,7 @@ pre {
.mail-index_vacation > div > span { .mail-index_vacation > div > span {
color: red; color: red;
} }
#mail-index_blank { #mail-index_mailPreview_blank {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
@ -316,6 +316,12 @@ pre {
justify-content: center; justify-content: center;
font-size: 200%; font-size: 200%;
} }
#mail-index_mailPreview_blank::part(base)
{
justify-content: center;
align-items: center;
}
#mail-index_mailPreview_blank[disabled] {display: none}
.mail_DisplayNone { .mail_DisplayNone {
display: none !important; display: none !important;
} }

View File

@ -299,7 +299,7 @@ pre {
.mail-index_vacation > div > span { .mail-index_vacation > div > span {
color: red; color: red;
} }
#mail-index_blank { #mail-index_mailPreview_blank {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
@ -311,6 +311,13 @@ pre {
justify-content: center; justify-content: center;
font-size: 200%; font-size: 200%;
} }
#mail-index_mailPreview_blank::part(base) {
justify-content: center;
align-items: center;
}
#mail-index_mailPreview_blank[disabled] {
display: none;
}
.mail_DisplayNone { .mail_DisplayNone {
display: none !important; display: none !important;
} }