mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
feat: reduce wordwrap hyphenation
The strategy appeared to affect hyphenation in inline code blocks. Reduce wordwrap hyphenation, similar to wordwrap on blogging platforms like Medium etc.
This commit is contained in:
parent
ab5b005820
commit
e6dba41f3d
1 changed files with 7 additions and 7 deletions
|
@ -137,17 +137,17 @@ article .article-metadata {
|
|||
|
||||
@mixin word-wrap() {
|
||||
// Break very long words such as pasted URL strings.
|
||||
overflow-wrap: break-word;
|
||||
//overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
-ms-word-break: break-all;
|
||||
word-break: break-all;
|
||||
//-ms-word-break: break-all;
|
||||
//word-break: break-all;
|
||||
word-break: break-word;
|
||||
|
||||
// Add a hyphen where the word breaks, if supported (No Blink).
|
||||
-ms-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
-webkit-hyphens: auto;
|
||||
hyphens: auto;
|
||||
//-ms-hyphens: auto;
|
||||
//-moz-hyphens: auto;
|
||||
//-webkit-hyphens: auto;
|
||||
//hyphens: auto;
|
||||
}
|
||||
|
||||
.article-style {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue