<pre> elements should at least have white-space: pre-wrap

This commit is contained in:
Anders Bjerner
2018-10-20 12:26:16 +02:00
committed by Sebastiaan Janssen
parent fe06f095be
commit 1de7b8f10f

View File

@@ -202,7 +202,7 @@ pre {
//font-size: @baseFontSize - 1; // 14px to 13px
color: @gray-2;
line-height: @baseLineHeight;
white-space: pre-line; // 1
white-space: pre-wrap; // 1
overflow-x: auto; // 1
background-color: @gray-10;
border: 1px solid @gray-8;
@@ -222,4 +222,4 @@ pre {
background-color: transparent;
border: 0;
}
}
}