Skip to content

Commit 3f208f2

Browse files
committed
Merge pull request #786 from dart-lang/tweak-pre
Tweak <pre> tags a bit.
2 parents ce9b4cd + b5408f6 commit 3f208f2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lib/resources/styles.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,12 @@ pre {
131131
font-family: 'Source Code Pro', monospace;
132132
color: black;
133133
border-radius: 4px;
134-
font-size: 14px;
134+
font-size: 13px;
135135
word-wrap: normal;
136136
line-height: 1.4;
137+
background: #f7f7f7;
137138
border: 1px solid #f0f0f0;
138-
margin: 16px;
139+
margin: 16px 0 16px 0;
139140
padding: 8px;
140141
}
141142

@@ -607,10 +608,6 @@ button {
607608

608609
/* source code method bodies */
609610

610-
.source-code pre {
611-
margin: 16px 0 16px 0;
612-
}
613-
614611
#overlay-under-drawer {
615612
display: none;
616613
}

0 commit comments

Comments
 (0)