Merged in feat/book-522-align (pull request #3101)
feat(BOOK-522): align items in topmenu, header and booking widget * feat(BOOK-522): align items in topmenu, header and booking widget * Delete old css variable and use new * Fixed underline on icons Approved-by: Erik Tiekstra
This commit is contained in:
@@ -2,6 +2,8 @@ import { IconName } from "@scandic-hotels/design-system/Icons/iconName"
|
||||
|
||||
import HeaderLink from "../HeaderLink"
|
||||
|
||||
import styles from "./topLink.module.css"
|
||||
|
||||
import type { TopLinkProps } from "@/types/components/header/topLink"
|
||||
|
||||
export default function TopLink({
|
||||
@@ -21,7 +23,7 @@ export default function TopLink({
|
||||
iconName={linkData.icon || IconName.Gift}
|
||||
iconSize={iconSize}
|
||||
>
|
||||
{linkData.title}
|
||||
<span className={styles.topLink}>{linkData.title}</span>
|
||||
</HeaderLink>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
.topLink {
|
||||
margin-top: 2px;
|
||||
}
|
||||
Reference in New Issue
Block a user