- {/* Text Content */}
-
-
{heading}
-
{subheading}
-
-
- {/* Buttons */}
- {(primaryButton || tertiaryButton) && (
-
- {primaryButton && (
-
- )}
- {tertiaryButton && (
-
- )}
+
+
+
+ {/* Text Content */}
+
+ {heading &&
{heading}
}
+
{subheading}
- )}
-
-
-
+
+ {/* Buttons */}
+ {(primaryButton || tertiaryButton) && (
+
+ {primaryButton && (
+
+ )}
+ {tertiaryButton && (
+
+ )}
+
+ )}
+
+
+
);
};
diff --git a/static/css/devportal2024-v1.css b/static/css/devportal2024-v1.css
index f7d5f4d963..d049bb4e6d 100644
--- a/static/css/devportal2024-v1.css
+++ b/static/css/devportal2024-v1.css
@@ -16882,14 +16882,15 @@ html.light .bds-hero-split-media--accent .bds-hero-split-media__subtitle {
.bds-callout-media-banner {
position: relative;
display: flex;
- flex-direction: column;
+ flex-direction: row;
width: 100%;
box-sizing: border-box;
min-height: 280px;
- height: auto;
+ align-items: stretch;
}
.bds-callout-media-banner > [class*=bds-grid__col] {
- height: 100%;
+ display: flex;
+ flex-direction: column;
}
.bds-callout-media-banner {
background-size: cover;