Skip to content

Commit

Permalink
(HP-2047) PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Riippi committed Feb 14, 2024
1 parent e129702 commit bd5141d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/common/footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -66,11 +67,13 @@ const Footer = () => {
target="_blank"
/>
<HDSFooter.Link
href="/accessibility"
as={Link}
to="/accessibility"
label={t('footer.accessibility')}
/>
<HDSFooter.Link
href={config.cookiePagePath}
as={Link}
to={config.cookiePagePath}
label={t('cookies.pageName')}
/>
</HDSFooter.Base>
Expand Down
1 change: 0 additions & 1 deletion src/common/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ function Header(): React.ReactElement {
titleHref={myProfilePath}
logo={<Logo src={logoSrcFromLanguage} alt={t('helsinkiLogo')} />}
frontPageLabel={t('nav.goToHomePage')}
onMenuClick={e => e.stopPropagation()}
>
<HDSHeader.SimpleLanguageOptions languages={languageOptions} />
<hr aria-hidden="true" />
Expand Down
5 changes: 5 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,8 @@ main h4 {
--h4-size: var(--fontsize-heading-m);
}
}

body {
margin: 0;
padding: 0;
}

0 comments on commit bd5141d

Please sign in to comment.