Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
27e52172
Commit
27e52172
authored
Feb 11, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add horizontal scrolling to code blocks.
parent
8752cd33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+4
-0
app/assets/stylesheets/generic/highlight.scss
app/assets/stylesheets/generic/highlight.scss
+1
-0
No files found.
app/assets/stylesheets/generic/common.scss
View file @
27e52172
...
@@ -333,6 +333,10 @@ table {
...
@@ -333,6 +333,10 @@ table {
margin-bottom
:
9px
;
margin-bottom
:
9px
;
}
}
.wiki
.code
{
overflow-x
:
auto
;
}
.footer-links
a
{
.footer-links
a
{
margin-right
:
15px
;
margin-right
:
15px
;
}
}
...
...
app/assets/stylesheets/generic/highlight.scss
View file @
27e52172
...
@@ -59,6 +59,7 @@
...
@@ -59,6 +59,7 @@
box-shadow
:
none
;
box-shadow
:
none
;
background
:
$box_bg
;
background
:
$box_bg
;
padding
:
1em
;
padding
:
1em
;
overflow-x
:
auto
;
code
{
code
{
font-family
:
$monospace_font
;
font-family
:
$monospace_font
;
...
...
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