Fix media modal misalignment in Safari (#37034)

This commit is contained in:
Echo
2025-11-27 16:27:18 +01:00
committed by GitHub
parent 0d2e9522ff
commit f07cff42c2
2 changed files with 8 additions and 4 deletions

View File

@@ -6204,12 +6204,14 @@ a.status-card {
inset-inline-start: 0; inset-inline-start: 0;
inset-inline-end: 0; inset-inline-end: 0;
bottom: 0; bottom: 0;
align-items: center;
justify-content: space-around; // If set to center, the fullscreen image overlay is misaligned.
> div { > div {
flex-shrink: 0; flex-shrink: 0;
overflow: auto; overflow: auto;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
} }
} }

View File

@@ -6085,12 +6085,14 @@ a.status-card {
inset-inline-start: 0; inset-inline-start: 0;
inset-inline-end: 0; inset-inline-end: 0;
bottom: 0; bottom: 0;
align-items: center;
justify-content: space-around; // If set to center, the fullscreen image overlay is misaligned.
> div { > div {
flex-shrink: 0; flex-shrink: 0;
overflow: auto; overflow: auto;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
} }
} }