Skip to content

Commit 9b624bf

Browse files
author
Danny Ruchtie
committed
Fixed mobile Layout
1 parent 65dd414 commit 9b624bf

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

packages/homepage/src/screens/home/hero/elements.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,23 +179,29 @@ export const SubTitle = styled.h2`
179179
// All for the B variant for A/B test
180180

181181
export const SandboxButtons = styled.section`
182-
height: 4rem;
182+
height: auto;
183183
width: auto;
184184
margin: 4rem 0;
185185
`;
186186

187187
export const Sandbox = styled.a`
188188
display: inline-block;
189-
width: 4rem;
190-
height: 4rem;
191-
margin: 0 2rem;
189+
width: 2rem;
190+
height: 2rem;
191+
margin: 0 0.75rem;
192192
opacity: 0.2;
193193
border: none;
194194
background-color: transparent;
195195
background-size: cover;
196196
transform: scale(1);
197197
transition: all 100ms ease-in;
198198
199+
@media screen and (min-width: 768px) {
200+
width: 4rem;
201+
height: 4rem;
202+
margin: 0 2rem;
203+
}
204+
199205
:hover {
200206
transform: scale(0.9);
201207
opacity: 1;

0 commit comments

Comments
 (0)