Responsive intro, again

This commit is contained in:
Megan Pearson
2018-10-22 15:27:31 +02:00
parent 614ca51cb1
commit f0b9365ca9

View File

@@ -29,6 +29,15 @@ const Content = styled.div`
display: flex;
flex-direction: column;
${Lead} {
${media.small`margin-bottom: 2.25rem;`};
}
`;
const StyledCode = styled(Code)`
width: 520px;
height: 350px;
${media.small`margin-bottom: 2.25rem;`};
`;
@@ -45,9 +54,7 @@ function Intro(props: IntroProps) {
<Title>{props.title}</Title>
<Lead as="div">{props.children}</Lead>
</Content>
<Breakout>
<Code>Function execute transaction Function execute transaction Function execute transaction</Code>
</Breakout>
<StyledCode> Function execute transaction</StyledCode>
</Main>
</Container>
);