Skip to content

Commit 94aabff

Browse files
fix: preserve hero screenshot aspect ratio
1 parent 3ec44b6 commit 94aabff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

website/memory/styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,9 @@ pre {
424424

425425
.window-frame img {
426426
width: 100%;
427+
height: auto;
428+
aspect-ratio: 16 / 9;
429+
object-fit: contain;
427430
}
428431

429432
.demo-caption {

0 commit comments

Comments
 (0)