From 2b4ec10f19bc68004eb3f811a793e116c0c6ce17 Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Wed, 10 Apr 2024 15:06:24 -0500 Subject: [PATCH] fix: 404 page links and styles (#4005) * fix: 404 page links and styles * Update 404.js --------- Co-authored-by: Guilherme Datilio Ribeiro --- src/pages/404.js | 2 +- src/styles/_overrides.scss | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/pages/404.js b/src/pages/404.js index 963250d1081..7bd1de05765 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -3,7 +3,7 @@ import { FourOhFour } from 'gatsby-theme-carbon'; const links = [ { href: '/all-about-carbon/what-is-carbon', text: 'All about Carbon' }, - { href: '/components/overview', text: 'Components overview' }, + { href: '/components/overview/components', text: 'Components overview' }, { href: '/designing/get-started', text: 'Get started designing' }, { href: '/developing/get-started', text: 'Get started developing' }, ]; diff --git a/src/styles/_overrides.scss b/src/styles/_overrides.scss index 5e4c05d2db5..efca5725f95 100644 --- a/src/styles/_overrides.scss +++ b/src/styles/_overrides.scss @@ -2,12 +2,6 @@ margin-top: 3rem; } -[class^='FourOhFour-module--container'], -[class^='FourOhFour-module--link'], -[class^='FourOhFour-module--link']:before { - color: $text-inverse !important; -} - // allow tooltips to be visible outside edge of table // table needs overflow at mobile to scroll .page-table__container {