From eb137cf576ab0e6adf3743ea30bef06fb7a8512f Mon Sep 17 00:00:00 2001 From: Fred Carlsen Date: Fri, 7 Dec 2018 11:00:34 +0100 Subject: Mobile tweaks --- packages/website/ts/@next/constants/globalStyle.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/website/ts/@next/constants') diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx index 82dfcd84f..38077c78c 100644 --- a/packages/website/ts/@next/constants/globalStyle.tsx +++ b/packages/website/ts/@next/constants/globalStyle.tsx @@ -56,11 +56,11 @@ const GlobalStyles = withTheme(createGlobalStyle ` --smallHeadingHeight: 1.4em; // TO DO --defaultHeadingHeight: 1.357142857em; // TO DO --mediumHeadingHeight: 1.16em; // TO DO - --largeHeadingHeight: 1em; // TO DO + --largeHeadingHeight: 1.108695652em; // TO DO --smallParagraph: 14px; // TO DO - --defaultParagraph: 18px; // TO DO - --mediumParagraph: 22px; // TO DO - --largeParagraph: 28px; // TO DO + --defaultParagraph: 16px; // TO DO + --mediumParagraph: 16px; // TO DO + --largeParagraph: 18px; // TO DO } } @@ -82,7 +82,7 @@ const GlobalStyles = withTheme(createGlobalStyle ` overflow: hidden; } - img { + img, svg { max-width: 100%; object-fit: contain; } -- cgit