Skip to content

Commit

Permalink
mobile image aspect ratio maintained between screen sizes, max-width …
Browse files Browse the repository at this point in the history
…set to 400
  • Loading branch information
jsandland committed Dec 17, 2024
1 parent b94e54f commit c7b02ea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions express/blocks/how-to-steps-accordion/how-to-steps-accordion.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ main .how-to-steps-accordion ol.steps .step:hover {

main .how-to-steps-accordion.image .image-container {
margin-top: 20px;
width: 100%;
overflow: hidden;
}

main .how-to-steps-accordion.image .image-container img {
border-radius: 16px;
max-width: 400px;
width: 100%;
height: 100%;
object-fit: cover;
}

main .how-to-steps-accordion.video,
Expand Down

0 comments on commit c7b02ea

Please sign in to comment.