From 4dc945a32474693e27a73bcf3cced2d1fb6eae4a Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Tue, 11 Jun 2024 16:21:07 +0200 Subject: [PATCH] feat: use body wrapper --- components/MyPages/Blocks/Shortcuts/index.tsx | 5 ++++- components/MyPages/Blocks/Shortcuts/shortcuts.module.css | 7 ------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/components/MyPages/Blocks/Shortcuts/index.tsx b/components/MyPages/Blocks/Shortcuts/index.tsx index 0fd4374c8..fa7535b93 100644 --- a/components/MyPages/Blocks/Shortcuts/index.tsx +++ b/components/MyPages/Blocks/Shortcuts/index.tsx @@ -1,5 +1,6 @@ import { ArrowRightIcon } from "@/components/Icons" import Link from "@/components/TempDesignSystem/Link" +import Body from "@/components/TempDesignSystem/Text/Body" import Header from "../Header" @@ -29,7 +30,9 @@ export default function Shortcuts({ target={shortcut.openInNewTab ? "_blank" : undefined} variant="shortcut" > - {shortcut.text ? shortcut.text : shortcut.title} + + {shortcut.text ? shortcut.text : shortcut.title} + ))} diff --git a/components/MyPages/Blocks/Shortcuts/shortcuts.module.css b/components/MyPages/Blocks/Shortcuts/shortcuts.module.css index dff00065f..821eb9984 100644 --- a/components/MyPages/Blocks/Shortcuts/shortcuts.module.css +++ b/components/MyPages/Blocks/Shortcuts/shortcuts.module.css @@ -13,16 +13,9 @@ .link { align-items: center; border-bottom: 0.5px solid var(--Base-Border-Subtle); - color: var(--Theme-Primary-Light-On-Surface-Text); display: flex; - font-family: var(--typography-Body-Regular-fontFamily); - font-size: var(--typography-Body-Regular-fontSize); - font-weight: 500; justify-content: space-between; - line-height: 1.5rem; padding: 1.5rem; - text-decoration: none; - letter-spacing: var(--typography-Body-Regular-letterSpacing); } .link:last-child {