aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/ContentBlock.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-tools-pages/ts/components/ContentBlock.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/ContentBlock.tsx18
1 files changed, 17 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/components/ContentBlock.tsx b/packages/dev-tools-pages/ts/components/ContentBlock.tsx
index 56d52a150..b80fd4550 100644
--- a/packages/dev-tools-pages/ts/components/ContentBlock.tsx
+++ b/packages/dev-tools-pages/ts/components/ContentBlock.tsx
@@ -1,19 +1,32 @@
import * as React from 'react';
import styled from 'styled-components';
+import { media } from 'ts/variables';
import { Beta } from './Typography';
const Base = styled.div`
display: flex;
align-items: flex-start;
justify-content: space-between;
- &:not(:last-of-type) {
+ :not(:last-of-type) {
margin-bottom: 6.25rem;
}
+ ${Beta} {
+ margin-bottom: 2.5rem;
+ }
+ ${media.small`
+ display: block;
+ :not(:last-of-type) {
+ margin-bottom: 3.125rem;
+ }
+ `};
`;
const Content = styled.div`
width: 66.693548387%;
+ ${media.small`
+ width: 100%;
+ `};
`;
const Item = styled.div`
@@ -23,6 +36,9 @@ const Item = styled.div`
&:not(:last-of-type) {
margin-bottom: 2.5rem;
+ ${media.small`
+ margin-bottom: 1.875rem;
+ `};
}
`;