Skip to content

Commit 7491fd9

Browse files
committed
fix: update carbonCover to use aspect-ratio for responsive height adjustment
1 parent fe9e2af commit 7491fd9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/features/adv/components/AdvBanner.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@
260260
max-width: none;
261261
}
262262
.advFeed .carbonCover {
263-
height: 255px;
263+
aspect-ratio: 16 / 9;
264+
height: auto;
264265
margin-bottom: 12px;
265266
}
266267
.advFeed .carbonCoverImage {

0 commit comments

Comments
 (0)