fix: Prevent attachment gallery content from going out of bounds

Closes #1349
This commit is contained in:
Maksim Eltyshev
2025-12-11 12:11:34 +01:00
parent ae9517b37a
commit 7f6978ae9e

View File

@@ -8,6 +8,8 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
margin: auto; margin: auto;
max-height: 90%;
max-width: 90%;
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
@@ -19,11 +21,13 @@
} }
.contentError { .contentError {
align-items: center;
color: #fff; color: #fff;
display: flex;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
height: 20px; justify-content: center;
line-height: 1.2;
text-align: center; text-align: center;
width: 470px;
} }
} }