Responsive intro, again
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
Reference in New Issue
Block a user