Skip to content

Commit

Permalink
feat(curtana): less aggressive word breaking (wrapping) for codes
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Jan 10, 2017
1 parent 4933c42 commit 8451012
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _app/assets/themes/curtana/_less/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -348,13 +348,12 @@ body:hover .latest {
pre {
font-family: @fontstack-monospace;
color: @code-color;
word-wrap: break-word;
}

// Only apply word breaking rule for codes in paragraphs
p code,
li code {
font-size: 92%;
word-break: break-all;
}

pre {
Expand Down

0 comments on commit 8451012

Please sign in to comment.