Skip to content

Commit e78ad63

Browse files
committed
Fix mobile view of featured sandbox
1 parent 20fb824 commit e78ad63

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/homepage/src/screens/explore/_FeaturedSandbox.elements.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ export const Container = styled.div`
1717
1818
@media screen and (max-width: ${VERTICAL_BREAKPOINT}px) {
1919
flex-direction: column;
20-
height: 600px;
20+
min-height: 800px;
21+
22+
font-size: 0.875rem;
23+
24+
h1 {
25+
font-size: 1.25rem;
26+
}
2127
}
2228
`;
2329

@@ -41,10 +47,11 @@ export const SandboxContainer = styled.div`
4147
width: 100%;
4248
height: 100%;
4349
44-
@media screen and (max-width: 900px) {
50+
@media screen and (max-width: ${VERTICAL_BREAKPOINT}px) {
4551
height: 230px;
4652
z-index: 11;
4753
background-color: ${props => props.theme.new.bg};
54+
padding: 0.5rem;
4855
}
4956
`;
5057

0 commit comments

Comments
 (0)