fix(web): translate the client screenshot and keep it within the viewport

This commit is contained in:
Loki 2026-10-25 10:17:50 +01:00
parent 4c32e479ac
commit 1fef52166a
Signed by: boba
GPG key ID: 253067914055423B
7 changed files with 16 additions and 3 deletions

View file

@ -723,7 +723,9 @@ p {
margin-bottom: 3px;
}
.client-image {
margin: 0;
width: fit-content;
max-width: 100%;
margin: 0 auto;
background: #18181a;
padding: 10px;
border: 1px solid #46433f;
@ -731,8 +733,12 @@ p {
overflow: hidden;
}
.client-image img {
width: 100%;
display: block;
width: auto;
max-width: 100%;
max-height: 72vh;
height: auto;
margin-inline: auto;
border-radius: 5px;
}
.client-image figcaption {