fix(web): translate the client screenshot and keep it within the viewport
This commit is contained in:
parent
4c32e479ac
commit
1fef52166a
7 changed files with 16 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue