Skip to content

Commit

Permalink
Fix system image width with responsive container
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Dec 6, 2024
1 parent 121f147 commit 7cb3b7b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,18 +200,18 @@ pre {
.sys-img {
text-align: center;
margin: 30px auto;
width: 70%;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
max-width: 900px;
position: relative;
padding-bottom: 40%;
}

.sys-img img {
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
}

Expand Down

0 comments on commit 7cb3b7b

Please sign in to comment.