mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Use overflow-wrap CSS property alongside word-wrap
This commit is contained in:
parent
bec23e6b70
commit
4944325d6a
4 changed files with 4 additions and 0 deletions
|
@ -154,6 +154,7 @@
|
|||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
word-wrap: normal;
|
||||
overflow-wrap: normal;
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
._list-item {
|
||||
white-space: normal;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
border-right-width: 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
font-size: .875rem;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
overflow-wrap: normal;
|
||||
text-overflow: ellipsis;
|
||||
text-shadow: 0 1px rgba(white, .3);
|
||||
border: solid transparent;
|
||||
|
|
|
@ -13,6 +13,7 @@ body {
|
|||
font: normal 1em/1.7 $baseFont;
|
||||
color: $textColor;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
-webkit-tap-highlight-color: rgba(black, 0);
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
|
|
Loading…
Reference in a new issue