fix: allow word-break in code strings in md

This commit is contained in:
Roman Hotsiy 2018-07-31 16:45:56 +03:00
parent d99e9188fd
commit 15dfe44d4e
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -63,6 +63,8 @@ export const StyledMarkdownBlock = withProps<{ dense?: boolean; inline?: boolean
border: 1px solid rgba(38, 50, 56, 0.1);
padding: 0.1em 0.25em 0.2em;
font-size: ${props => props.theme.typography.code.fontSize};
word-break: break-word;
}
pre {