Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
site
Commits
42d0d0e0
Verified
Commit
42d0d0e0
authored
Jun 06, 2020
by
Aral Balkan
Browse files
Fix code wrapping in syntax highlighted code spans
parent
79dfcd60
Changes
1
Hide whitespace changes
Inline
Side-by-side
css/index.css
View file @
42d0d0e0
...
...
@@ -201,7 +201,7 @@ pre {
/* Make sure all code wraps so we don’t overflow the page width. */
/* Courtesy: https://gist.github.com/tcr/1321968 */
pre
,
code
[
class
*=
"language-"
],
pre
[
class
*=
"language-"
]
{
pre
,
code
[
class
*=
"language-"
],
pre
[
class
*=
"language-"
]
,
pre
code
span
{
/* Make sure preformatted text wraps. */
white-space
:
pre-wrap
;
/* css-3 */
white-space
:
-moz-pre-wrap
;
/* Mozilla, since 1999 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment