aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Intro.tsx
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-29 16:15:20 +0800
committerGitHub <noreply@github.com>2018-10-29 16:15:20 +0800
commit0e3cd82348570ed4c524d3b4f216001089f49125 (patch)
tree645aee17a391fb0c70f8db6bdc6c14ea5d04fa82 /packages/dev-tools-pages/ts/components/Intro.tsx
parent3d4041ecd3d9384853514ea0cebc445e630b106e (diff)
downloaddexon-sol-tools-0e3cd82348570ed4c524d3b4f216001089f49125.tar
dexon-sol-tools-0e3cd82348570ed4c524d3b4f216001089f49125.tar.gz
dexon-sol-tools-0e3cd82348570ed4c524d3b4f216001089f49125.tar.bz2
dexon-sol-tools-0e3cd82348570ed4c524d3b4f216001089f49125.tar.lz
dexon-sol-tools-0e3cd82348570ed4c524d3b4f216001089f49125.tar.xz
dexon-sol-tools-0e3cd82348570ed4c524d3b4f216001089f49125.tar.zst
dexon-sol-tools-0e3cd82348570ed4c524d3b4f216001089f49125.zip
Fixes/august (#12)
* fix button dimensions * fix footer hover color * breakout in trace component * fix padding on button on small screens * fix title with content on small screens * sizing adjustment in intro component * intro component adjustments * container size adjustments * meta og images * fixed gutter size * trace component fix + breakout fix * show copy button if touch device * responsive hero animation
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Intro.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/Intro.tsx15
1 files changed, 12 insertions, 3 deletions
diff --git a/packages/dev-tools-pages/ts/components/Intro.tsx b/packages/dev-tools-pages/ts/components/Intro.tsx
index 86d29e36d..7a30d05c7 100644
--- a/packages/dev-tools-pages/ts/components/Intro.tsx
+++ b/packages/dev-tools-pages/ts/components/Intro.tsx
@@ -12,8 +12,10 @@ const Main = styled.div`
display: flex;
justify-content: space-between;
- ${media.medium`
+ ${media.large`
padding: 2.5rem 1.875rem
+ `};
+ ${media.medium`
display: block;
`};
`;
@@ -21,17 +23,24 @@ const Main = styled.div`
const Title = styled(Alpha)`
margin-bottom: 2.5rem;
- ${media.small`margin-bottom: 2.25rem;`};
+ ${media.medium`margin-bottom: 2.25rem;`};
`;
const StyledIntroLead = styled(Lead)`
max-width: 25.9375rem;
- ${media.small`margin-bottom: 1.5625rem;`};
+ margin-right: 2rem;
+ ${media.medium`
+ max-width: 100%;
+ margin-bottom: 1.5625rem;
+ `};
`;
const StyledIntroAside = styled.div`
max-width: 32.5rem;
position: relative;
+ ${media.medium`
+ max-width: 100%;
+ `};
`;
interface IntroProps {