Skip to content

Commit 3b75385

Browse files
authored
Merge pull request TheAlgorithms#1140 from HayatoDoi/gh-pages-pre-wrap
The code is not wrapped when reading a document from a smartphone.
2 parents 01d1f08 + 1577b29 commit 3b75385

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_sass/modules/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ pre {
123123
padding: 8px 12px;
124124
border: 1px solid $color-blue-2;
125125
word-wrap: break-word;
126+
white-space: pre-wrap;
126127

127128
> code {
128129
border: 0;

0 commit comments

Comments
 (0)