<pre> elements should at least have white-space: pre-wrap
This commit is contained in:
committed by
Sebastiaan Janssen
parent
fe06f095be
commit
1de7b8f10f
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user