fix: update grids to dynamically adapt number of columns + aligned rows
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.points {
|
||||
grid-template-rows: auto auto auto;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-auto-flow: column;
|
||||
row-gap: 0;
|
||||
column-gap: var(--Spacing-x2);
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ async function PointsColumn({
|
||||
const { formatMessage } = await getIntl()
|
||||
|
||||
return (
|
||||
<article>
|
||||
<article className={styles.article}>
|
||||
<Body
|
||||
color="white"
|
||||
textTransform="bold"
|
||||
|
||||
@@ -2,4 +2,8 @@
|
||||
.firstRow {
|
||||
align-content: flex-end;
|
||||
}
|
||||
|
||||
.article {
|
||||
display: grid;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user