From c06c7df74995133634bc7a2dade6360eca47f1c2 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 21 Jan 2020 15:42:38 +1300 Subject: [PATCH] fix(home): ie11 support: resolve overflowing h1, nav link underlines, discord button height --- src/components/DiscordButton/styles.tsx | 1 + src/components/HomeHeader/styles.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/components/DiscordButton/styles.tsx b/src/components/DiscordButton/styles.tsx index fe7db18..79b6a5f 100644 --- a/src/components/DiscordButton/styles.tsx +++ b/src/components/DiscordButton/styles.tsx @@ -25,5 +25,6 @@ export const DiscordButtonWrapper = styled.a` export const StyledDiscordLogo = styled(DiscordLogo)` width: 30px; + height: 30px; margin-right: 13px; ` diff --git a/src/components/HomeHeader/styles.tsx b/src/components/HomeHeader/styles.tsx index 1c5312c..1c550dd 100644 --- a/src/components/HomeHeader/styles.tsx +++ b/src/components/HomeHeader/styles.tsx @@ -22,6 +22,7 @@ export const TitleWrapper = styled.div` display: flex; align-items: center; margin-bottom: 22px; + max-width: 100%; .is-home & { flex-direction: column; @@ -41,6 +42,7 @@ export const Title = styled.h1` .is-home & { margin: 32px 0; font-size: 88px; + max-width: 100%; @media screen and (max-width: 991px) { font-size: 58px; @@ -142,6 +144,7 @@ export const MenuItemLine = styled.div` bottom: 0; background: #fff; transition: all 0.3s; + left: 0; ` export const menuItemStyles = css`