Skip to content

Commit ae854fc

Browse files
author
Gias Kay Lee
committed
docs(css): Fix word breaks issue in <pre>
Closes angular#6586
1 parent 46bd6dc commit ae854fc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/app/assets/css/docs.css

+6-4
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,12 @@ h1,h2,h3,h4,h5,h6 {
184184
}
185185

186186
pre {
187-
padding:15px;
188-
border:1px solid #ddd;
189-
display:block;
190-
border-radius:5px;
187+
padding: 15px;
188+
border: 1px solid #ddd;
189+
border-radius: 5px;
190+
display: block;
191+
white-space: pre-wrap;
192+
word-break: normal;
191193
}
192194

193195
.aside-nav a,

0 commit comments

Comments
 (0)