Add 'n' shortcut for new doc

Fixed cmd+enter shortcut to publish doc
Fixed keyboard shortcut display on non-mac
Fixed heading alignment
Fixed documents smaller than page should not scroll
This commit is contained in:
Tom Moor
2019-03-09 20:00:45 -08:00
parent f75783c2f1
commit fc7c485ba9
10 changed files with 53 additions and 20 deletions

View File

@ -2,9 +2,8 @@
import styled from 'styled-components';
const ClickablePadding = styled.div`
min-height: 50vh;
cursor: ${({ onClick }) => (onClick ? 'text' : 'default')};
${({ grow }) => grow && `flex-grow: 1;`};
${({ grow }) => grow && `flex-grow: 100;`};
`;
export default ClickablePadding;