From bd5141d4c8d1deaca595eee198253406a5690f59 Mon Sep 17 00:00:00 2001 From: Mikko Riippi Date: Wed, 14 Feb 2024 14:10:45 +0200 Subject: [PATCH] (HP-2047) PR fixes --- src/common/footer/Footer.tsx | 7 +++++-- src/common/header/Header.tsx | 1 - src/index.css | 5 +++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/common/footer/Footer.tsx b/src/common/footer/Footer.tsx index b39bcd222..5c8e203c6 100644 --- a/src/common/footer/Footer.tsx +++ b/src/common/footer/Footer.tsx @@ -1,6 +1,7 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; import { Footer as HDSFooter, Logo, logoFiDark, logoSvDark } from 'hds-react'; +import { Link } from 'react-router-dom'; import getLanguageCode from '../helpers/getLanguageCode'; import config from '../../config'; @@ -66,11 +67,13 @@ const Footer = () => { target="_blank" /> diff --git a/src/common/header/Header.tsx b/src/common/header/Header.tsx index 12de1ef97..55c72704e 100644 --- a/src/common/header/Header.tsx +++ b/src/common/header/Header.tsx @@ -87,7 +87,6 @@ function Header(): React.ReactElement { titleHref={myProfilePath} logo={} frontPageLabel={t('nav.goToHomePage')} - onMenuClick={e => e.stopPropagation()} > diff --git a/src/index.css b/src/index.css index f3789e611..7bd72da3c 100644 --- a/src/index.css +++ b/src/index.css @@ -115,3 +115,8 @@ main h4 { --h4-size: var(--fontsize-heading-m); } } + +body { + margin: 0; + padding: 0; +}