Skip to content

The agent that grows with you

website: catalog card banner slot at the 2:1 catalog ratio instead of a 120px crop

teknium114c4b62e6a54
diff --git a/website/src/pages/plugins/styles.module.css b/website/src/pages/plugins/styles.module.css
index b5c0eb59b83..4e61d4b4ade 100644
--- a/website/src/pages/plugins/styles.module.css
+++ b/website/src/pages/plugins/styles.module.css
@@ -496,13 +496,15 @@
opacity: 1;
}
-/* Banner slot: a fixed 120px strip whether the entry ships an image or not. */
+/* Banner slot: the catalog's 2:1 banner ratio (48 of 56 shipped banners are exactly 2:1), so
+ authored images render whole instead of losing their top and bottom to a fixed-height crop.
+ Same width on every card in the grid, so the same height. */
.cardImage,
.cardImagePlaceholder {
display: block;
width: 100%;
- height: 120px;
- flex: 0 0 120px;
+ aspect-ratio: 2 / 1;
+ flex: 0 0 auto;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@@ -521,7 +523,7 @@
}
.cardImagePlaceholderIcon {
- font-size: 2.2rem;
+ font-size: 3rem;
line-height: 1;
opacity: 0.45;
filter: saturate(0.6);