Skip to content

Commit 5a07a1e

Browse files
committed
clean up
1 parent 48790d2 commit 5a07a1e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

site/assets/css/site.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,13 +473,21 @@ footer a:hover { color: var(--accent); text-decoration: none; }
473473
}
474474

475475
/* Equal-height demo grid */
476+
.grid-2 > div {
477+
display: flex;
478+
flex-direction: column;
479+
}
476480
.grid-2 .demo {
477481
max-width: none;
478482
margin: 0;
483+
flex: 1;
484+
display: flex;
479485
}
480486
.grid-2 .demo img, .grid-2 .demo video {
481487
width: 100%;
482-
height: auto;
488+
height: 100%;
489+
object-fit: cover;
490+
object-position: top left;
483491
}
484492

485493
/* ── Install section ── */

0 commit comments

Comments
 (0)