Skip to content

Commit

Permalink
fix: word break (#302)
Browse files Browse the repository at this point in the history
fix #301
  • Loading branch information
YangFong authored May 27, 2024
1 parent 7ade99b commit 080c61b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/less/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ section {
align-items: center;
justify-content: center;
display: flex;
word-break: break-all;
//word-break: break-all;
overflow-y: scroll;
}

Expand Down
3 changes: 2 additions & 1 deletion src/assets/scripts/themes/default-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default {
margin: `1.5em 8px`,
'letter-spacing': `0.1em`,
color: baseColor,
'text-align': `justify`,
},

// 引用样式
Expand Down Expand Up @@ -141,7 +142,7 @@ export default {
background: `rgba(27,31,35,.05)`,
padding: `3px 5px`,
'border-radius': `4px`,
'word-break': `break-all`,
// 'word-break': `break-all`,
},

link: {
Expand Down

0 comments on commit 080c61b

Please sign in to comment.