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

@ -18,6 +18,7 @@ type AlignValues =
type Props = {
column?: ?boolean,
shrink?: ?boolean,
align?: AlignValues,
justify?: JustifyValues,
auto?: ?boolean,
@ -36,6 +37,7 @@ const Container = styled.div`
flex-direction: ${({ column }) => (column ? 'column' : 'row')};
align-items: ${({ align }) => align};
justify-content: ${({ justify }) => justify};
flex-shrink: ${({ shrink }) => (shrink ? 1 : 0)};
min-height: 0;
min-width: 0;
`;