mirror of
https://github.com/mastodon/mastodon.git
synced 2026-01-11 19:56:37 +00:00
Fix media modal misalignment in Safari (#37034)
This commit is contained in:
parent
0d2e9522ff
commit
f07cff42c2
2 changed files with 8 additions and 4 deletions
|
|
@ -6204,12 +6204,14 @@ a.status-card {
|
|||
inset-inline-start: 0;
|
||||
inset-inline-end: 0;
|
||||
bottom: 0;
|
||||
align-items: center;
|
||||
justify-content: space-around; // If set to center, the fullscreen image overlay is misaligned.
|
||||
|
||||
> div {
|
||||
flex-shrink: 0;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6085,12 +6085,14 @@ a.status-card {
|
|||
inset-inline-start: 0;
|
||||
inset-inline-end: 0;
|
||||
bottom: 0;
|
||||
align-items: center;
|
||||
justify-content: space-around; // If set to center, the fullscreen image overlay is misaligned.
|
||||
|
||||
> div {
|
||||
flex-shrink: 0;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue