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:
@ -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;
|
||||
`;
|
||||
|
Reference in New Issue
Block a user