From 20c0a6b2b30d9342b0b38cc1b75fc79b5b3e59b3 Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Tue, 22 Nov 2022 01:55:35 +0100 Subject: [PATCH] fix footer padding issue (#35) --- src/components/layouts/Footer.tsx | 45 +++++++++++++---------------- src/theme/foundations/textStyles.ts | 7 +++++ 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/components/layouts/Footer.tsx b/src/components/layouts/Footer.tsx index b3eb492b11..14db5fddfe 100644 --- a/src/components/layouts/Footer.tsx +++ b/src/components/layouts/Footer.tsx @@ -1,4 +1,4 @@ -import { Flex, Link, Stack, Text } from '@chakra-ui/react'; +import { Center, Flex, Link, Text } from '@chakra-ui/react'; import { FC } from 'react'; import NextLink from 'next/link'; @@ -29,7 +29,7 @@ export const Footer: FC = () => { }} borderColor='primary' > - { bg: 'primary', color: 'bg !important' }} - justifyContent='center' borderRight='2px solid' borderColor='primary' + p={4} > - DOWNLOADS + DOWNLOADS - + - { md: '2px solid' }} borderColor='primary' - justifyContent='center' + p={4} > - DOCUMENTATION + DOCUMENTATION - + - { _hover={{ bg: 'primary' }} - alignItems='center' p={4} > - + - + - { > - + - + - - + - + - { flex={1} > {`© 2013–${new Date().getFullYear()}. The go-ethereum Authors.`} - + ); }; diff --git a/src/theme/foundations/textStyles.ts b/src/theme/foundations/textStyles.ts index 31ecc3f365..b259d4ae0a 100644 --- a/src/theme/foundations/textStyles.ts +++ b/src/theme/foundations/textStyles.ts @@ -58,6 +58,13 @@ export const textStyles = { fontSize: '13px', fontFamily: '"Inter", sans-serif' }, + 'footer-link-label': { + fontFamily: '"JetBrains Mono", monospace', + fontWeight: 700, + textTransform: 'uppercase', + lineHeight: '21.12px', + letterSpacing: '2%' + }, 'footer-text': { fontFamily: '"Inter", sans-serif', lineHeight: '22px',