From a00a90a34553ea0ad9aa80dd258e93b95cf52fac Mon Sep 17 00:00:00 2001 From: olayway Date: Thu, 2 Jun 2022 11:13:14 +0200 Subject: [PATCH] [components/Heading][s]: updated css - underline --- site/components/Heading.js | 2 +- site/styles/global.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/components/Heading.js b/site/components/Heading.js index 8cbaa4a..189922e 100644 --- a/site/components/Heading.js +++ b/site/components/Heading.js @@ -13,6 +13,6 @@ export const Heading = ({ level, observer }) => (props) => { return React.createElement(`h${level}`, { ...props, - className: "scroll-mt-16 cursor-pointer" + className: "c-heading scroll-mt-16 cursor-pointer" }) } diff --git a/site/styles/global.css b/site/styles/global.css index 4aa677d..001029b 100644 --- a/site/styles/global.css +++ b/site/styles/global.css @@ -15,7 +15,7 @@ html { scroll-behavior: smooth; } -a { +.c-heading a { @apply no-underline !important; }