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
10 lines
232 B
JavaScript
10 lines
232 B
JavaScript
// @flow
|
|
import styled from 'styled-components';
|
|
|
|
const ClickablePadding = styled.div`
|
|
cursor: ${({ onClick }) => (onClick ? 'text' : 'default')};
|
|
${({ grow }) => grow && `flex-grow: 100;`};
|
|
`;
|
|
|
|
export default ClickablePadding;
|