Skip to content

Commit 1aff6da

Browse files
committed
css overflow changes
1 parent 178c37c commit 1aff6da

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

client/components/RootPage.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ import { prop } from '../theme';
44
const RootPage = styled.div`
55
min-height: 100%;
66
display: flex;
7+
justify-content: start;
78
flex-direction: column;
89
color: ${prop('primaryTextColor')};
910
background-color: ${prop('backgroundColor')};
1011
height: ${({ fixedHeight }) => fixedHeight || 'initial'};
12+
13+
@media (max-width: 770px) {
14+
height: 100%;
15+
overflow: hidden;
16+
}
1117
`;
1218

1319
export default RootPage;

client/modules/IDE/components/Editor/MobileEditor.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const EditorContainer = styled.div`
55
display: flex;
66
flex-direction: column;
77
height: 100%;
8-
padding-bottom: 5.5rem;
8+
padding-bottom: 5rem;
99
transform: ${(props) =>
1010
props.expanded ? 'translateX(50%)' : 'translateX(0)'};
1111

0 commit comments

Comments
 (0)