aboutsummaryrefslogtreecommitdiff
path: root/lib/type.less
diff options
context:
space:
mode:
Diffstat (limited to 'lib/type.less')
-rw-r--r--lib/type.less7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/type.less b/lib/type.less
index a490bf5fa..d092b203d 100644
--- a/lib/type.less
+++ b/lib/type.less
@@ -24,7 +24,7 @@ p {
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
color: @grayDark;
- text-rendering: optimizelegibility;
+ text-rendering: optimizelegibility; // Fix the character spacing for headings
small {
color: @grayLight;
}
@@ -185,7 +185,7 @@ pre {
background-color: #f5f5f5;
display: block;
padding: (@baseLineHeight - 1) / 2;
- margin: 0 0 @baseLineHeight;
+ margin: 0 0 @baseLineHeight / 2;
line-height: @baseLineHeight;
font-size: 12px;
border: 1px solid #ccc;
@@ -193,6 +193,5 @@ pre {
.border-radius(3px);
white-space: pre;
white-space: pre-wrap;
- word-wrap: break-word;
-
+ word-break: break-all;
} \ No newline at end of file