Merged in feat/LOY-261-Remove-Sidebar-From-MyPages (pull request #2380)
Feat/LOY-261 Remove Sidebar From MyPages * feat(LOY-261): remove sidebar from my pages * refactor(LOY-261): move SASLevelUpgradeCheck to my-pages layout and remove unused code * chore(LOY-261): remove console logs * fix(LOY-261): remove sidebar and center content in Loyalty Pages when logged in * fix(LOY-261): better class naming for content width Approved-by: Christian Andolf Approved-by: Erik Tiekstra
This commit is contained in:
@@ -117,34 +117,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: var(--Corner-radius-md);
|
||||
gap: var(--Space-x1);
|
||||
padding: var(--Space-x1);
|
||||
|
||||
&.active {
|
||||
background-color: var(--Base-Surface-Primary-dark-Hover);
|
||||
|
||||
&.regular {
|
||||
font-family: var(--typography-Body-Bold-fontFamily);
|
||||
font-size: var(--typography-Body-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
letter-spacing: var(--typography-Body-Bold-letterSpacing);
|
||||
line-height: var(--typography-Body-Bold-lineHeight);
|
||||
}
|
||||
|
||||
&.small {
|
||||
font-family: var(--typography-Caption-Bold-fontFamily);
|
||||
font-size: var(--typography-Caption-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
letter-spacing: var(--typography-Caption-Bold-letterSpacing);
|
||||
line-height: var(--typography-Caption-Bold-lineHeight);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.regular {
|
||||
font-family: var(--typography-Body-Regular-fontFamily);
|
||||
font-size: var(--typography-Body-Regular-fontSize);
|
||||
|
||||
@@ -34,7 +34,6 @@ export const linkVariants = cva(styles.link, {
|
||||
navigation: styles.navigation,
|
||||
menu: styles.menu,
|
||||
shortcut: styles.shortcut,
|
||||
sidebar: styles.sidebar,
|
||||
languageSwitcher: styles.languageSwitcher,
|
||||
},
|
||||
},
|
||||
@@ -42,16 +41,4 @@ export const linkVariants = cva(styles.link, {
|
||||
color: "Text/Interactive/Default",
|
||||
size: "regular",
|
||||
},
|
||||
compoundVariants: [
|
||||
{
|
||||
active: true,
|
||||
size: "regular",
|
||||
variant: "sidebar",
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
size: "small",
|
||||
variant: "sidebar",
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user