From 1899493ca89d9d357d7a7641eabe2b49e9e31c32 Mon Sep 17 00:00:00 2001 From: August Skare Date: Thu, 25 Oct 2018 14:11:30 +0200 Subject: breakpoint on medium in intro component --- packages/dev-tools-pages/ts/components/Intro.tsx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'packages/dev-tools-pages/ts/components') diff --git a/packages/dev-tools-pages/ts/components/Intro.tsx b/packages/dev-tools-pages/ts/components/Intro.tsx index b475bd34b..9ab04cbf7 100644 --- a/packages/dev-tools-pages/ts/components/Intro.tsx +++ b/packages/dev-tools-pages/ts/components/Intro.tsx @@ -12,7 +12,7 @@ const Main = styled.div` display: flex; justify-content: space-between; - ${media.small` + ${media.medium` padding: 2.5rem 1.875rem display: block; `}; @@ -24,17 +24,8 @@ const Title = styled(Alpha)` ${media.small`margin-bottom: 2.25rem;`}; `; -const Blocks = styled.div` - display: flex; - justify-content: space-between; - width: 100%; - - ${media.small`display: block;`}; -`; - const StyledIntroLead = styled(Lead)` max-width: 25.9375rem; - ${media.small`margin-bottom: 1.5625rem;`}; `; @@ -72,9 +63,7 @@ function IntroAside(props: IntroProps) { function Intro(props: IntroProps) { return ( -
- {props.children} -
+
{props.children}
); } -- cgit v1.2.3