Skip to content

Commit

Permalink
fix(seo): Adapts word-break on text and link to the size of the screen
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanjerome committed Jul 12, 2023
1 parent bc8dca2 commit 88b5b57
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions _sass/_media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,27 @@
padding: 5px 0px;
}
}
.page-content p, li {
word-break: break-word;
hyphens: auto;
hyphenate-character: '-';
}
.article {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}

.article-page {
a {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
hyphens: auto;
}
}

.sidebar {
position: relative;
Expand Down

0 comments on commit 88b5b57

Please sign in to comment.