Skip to content

Commit 591c3c4

Browse files
CORE-5091: labs page updates (#1294)
1 parent 23faaf0 commit 591c3c4

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pages/innovations/labs.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const LabsPage = ({ page }) => (
7474
image={page.header.header.hero}
7575
title={page.header.header.title}
7676
description={page.header.header.description}
77+
className={styles.labHero}
7778
/>
7879
<div className={styles.features}>
7980
{page.services.features &&

pages/innovations/labs.module.scss

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,24 @@
6969
}
7070
.features {
7171
display: grid;
72-
grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
72+
grid-template-columns: repeat(2, 1fr);
7373
grid-gap: 1rem;
7474

75+
@media (max-width: 768px) {
76+
grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
77+
}
78+
7579
.card {
7680
padding: 2rem;
7781
background-color: var(--gray-100);
7882
display: flex;
7983
flex-direction: column;
80-
min-height: 29rem;
84+
min-height: 20rem;
8185
.header-wrapper {
8286
display: flex;
83-
justify-content: space-between;
87+
gap: 10px;
8488
align-items: center;
89+
margin-bottom: 22px;
8590
}
8691
.tag {
8792
padding: 3px 7px;
@@ -126,3 +131,11 @@
126131
}
127132
}
128133
}
134+
135+
.lab-hero {
136+
div:nth-child(2) {
137+
display: flex;
138+
justify-content: flex-end;
139+
align-items: flex-end;
140+
}
141+
}

0 commit comments

Comments
 (0)