Skip to content

Commit 63cd67d

Browse files
committed
Fix GrayContainer styles
1 parent c078f6e commit 63cd67d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/pages/what-is-ethereum.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,26 +92,28 @@ const Header = styled.header`
9292
}
9393
`
9494

95-
// TODO use theme variables
9695
const GrayContainer = styled.div`
97-
margin-top: -14rem;
9896
padding: 4rem 2rem;
9997
background: ${(props) => props.theme.colors.grayBackground};
10098
box-shadow: inset 0px 1px 0px
10199
${(props) => props.theme.colors.tableItemBoxShadow};
102-
@media (max-width: 1280px) {
103-
margin-top: -13rem;
100+
margin-top: -14rem;
101+
@media (max-width: ${(props) => props.theme.breakpoints.xl}) {
102+
margin-top: -15rem;
104103
}
105104
@media (max-width: 1160px) {
106-
margin-top: -11rem;
105+
margin-top: -14rem;
107106
}
108107
@media (max-width: ${(props) => props.theme.breakpoints.l}) {
109-
margin-top: -10rem;
108+
margin-top: -12rem;
110109
}
111110
@media (max-width: 920px) {
112-
margin-top: -10rem;
111+
margin-top: -11rem;
113112
}
114113
@media (max-width: 870px) {
114+
margin-top: -10rem;
115+
}
116+
@media (max-width: 810px) {
115117
margin-top: -9rem;
116118
}
117119
@media (max-width: ${(props) => props.theme.breakpoints.m}) {

0 commit comments

Comments
 (0)