Skip to content

Commit

Permalink
修改预览的折行
Browse files Browse the repository at this point in the history
  • Loading branch information
tywei90 committed Feb 24, 2018
1 parent f628a73 commit 7d48d85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions release/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ ul {
background-color: transparent;
}

#framePage .article-content{
word-break: break-all;
}

#framePage .article-content b {
color: #d91d37;
}
Expand Down
1 change: 1 addition & 0 deletions src/components/previewUnits/preTextBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class PreTextBody extends React.Component {
borderRadius = '0'
}
style = {
wordBreak: 'break-all',
color: jsdata.textColor,
backgroundColor: jsdata.bgColor,
textAlign: jsdata.textAlign,
Expand Down

0 comments on commit 7d48d85

Please sign in to comment.