Skip to content

Commit 34be0e7

Browse files
committed
✨ add visibility padding to the bottom of the editor wrapper
1 parent dfedc81 commit 34be0e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client/components/mobile/IDEWrapper.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import React from 'react';
22
import styled from 'styled-components';
33
import { remSize } from '../../theme';
44

5+
// Applies padding to top and bottom so editor content is always visible
6+
57
export default styled.div`
68
z-index: 0;
79
margin-top: ${remSize(16)};
10+
.CodeMirror-sizer > * { padding-bottom: ${remSize(320)}; };
811
`;

0 commit comments

Comments
 (0)