chore: update styling for loyalty table
This commit is contained in:
committed by
Michael Zetterberg
parent
81c7a60eff
commit
401b019f41
@@ -2,18 +2,18 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: var(--Spacing-x-one-and-half);
|
||||
gap: var(--Spacing-x-half);
|
||||
padding: 0 1rem 0 1rem;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.benefitValue {
|
||||
background-color: var(--Main-Brand-Burgundy);
|
||||
border-radius: var(--Corner-radius-xLarge);
|
||||
color: var(--Base-Surface-Primary-Hover-alt, #fff);
|
||||
font-size: var(--typography-Footnote-Regular-fontSize);
|
||||
padding: var(--Spacing-x-half) var(--Spacing-x1);
|
||||
font-size: var(--typography-Body-Bold-fontSize);
|
||||
font-weight: var(--typography-Body-Bold-fontWeight);
|
||||
}
|
||||
|
||||
.benefitValueDetails {
|
||||
font-size: var(--typography-Caption-Regular-fontSize);
|
||||
font-size: var(--typography-Footnote-Regular-fontSize);
|
||||
text-align: center;
|
||||
color: var(--UI-Grey-80);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ import { BenefitValueProps } from "@/types/components/loyalty/blocks"
|
||||
|
||||
export default function BenefitValue({ benefit }: BenefitValueProps) {
|
||||
if (!benefit.unlocked) {
|
||||
return <Minus />
|
||||
return <Minus color="var(--UI-Grey-40)" />
|
||||
}
|
||||
if (!benefit.value) {
|
||||
return <CheckCircle height={32} width={32} color="green" />
|
||||
|
||||
Reference in New Issue
Block a user