feat: change grid logic
This commit is contained in:
@@ -39,3 +39,7 @@
|
|||||||
.scriptTitle {
|
.scriptTitle {
|
||||||
transform: rotate(-3deg);
|
transform: rotate(-3deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.test {
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export default async function CurrentBenefitsBlock({
|
|||||||
const user = await serverClient().user.get()
|
const user = await serverClient().user.get()
|
||||||
const { formatMessage } = await getIntl()
|
const { formatMessage } = await getIntl()
|
||||||
// TODO: level should be fetched from the `user` object once available
|
// TODO: level should be fetched from the `user` object once available
|
||||||
// TAKE NOTE: we need clarification on how benefits stack from different levels
|
// TAKE NOTE: we need clarification on how benefits stack from different levels
|
||||||
// in order to determine if a benefit is specific to a level or if it is a cumulative benefit
|
// in order to determine if a benefit is specific to a level or if it is a cumulative benefit
|
||||||
// we might have to add a new boolean property "exclusive" or similar
|
// we might have to add a new boolean property "exclusive" or similar
|
||||||
const userLevel = 1
|
const userLevel = 1
|
||||||
|
|||||||
@@ -37,10 +37,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1367px) {
|
@media screen and (min-width: 1367px) {
|
||||||
.oneColumnGrid {
|
|
||||||
grid-template-columns: repeat(1, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
.twoColumnGrid,
|
.twoColumnGrid,
|
||||||
.twoPlusOne {
|
.twoPlusOne {
|
||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ export const cardGridVariants = cva(styles.gridContainer, {
|
|||||||
true: styles.carousel,
|
true: styles.carousel,
|
||||||
},
|
},
|
||||||
variant: {
|
variant: {
|
||||||
oneColumnGrid: styles.oneColumnGrid,
|
|
||||||
twoColumnGrid: styles.twoColumnGrid,
|
twoColumnGrid: styles.twoColumnGrid,
|
||||||
threeColumnGrid: styles.threeColumnGrid,
|
threeColumnGrid: styles.threeColumnGrid,
|
||||||
fourColumnGrid: styles.fourColumnGrid,
|
fourColumnGrid: styles.fourColumnGrid,
|
||||||
|
|||||||
Reference in New Issue
Block a user