Skip to content

Commit

Permalink
fix: allow word-break in code strings in md
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Jul 31, 2018
1 parent d99e918 commit 15dfe44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Markdown/styled.elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 15dfe44

Please sign in to comment.