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
Tatuya Kamada
gitlab-ce
Commits
dcdf0b2a
Commit
dcdf0b2a
authored
Apr 06, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Horizontally scroll code blocks instead of wrapping
parent
ebb91c7f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
5 deletions
+15
-5
app/assets/stylesheets/framework/files.scss
app/assets/stylesheets/framework/files.scss
+1
-0
app/assets/stylesheets/framework/markdown_area.scss
app/assets/stylesheets/framework/markdown_area.scss
+1
-0
app/assets/stylesheets/framework/typography.scss
app/assets/stylesheets/framework/typography.scss
+1
-2
app/assets/stylesheets/pages/detail_page.scss
app/assets/stylesheets/pages/detail_page.scss
+6
-2
app/assets/stylesheets/pages/diff.scss
app/assets/stylesheets/pages/diff.scss
+5
-0
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+1
-1
No files found.
app/assets/stylesheets/framework/files.scss
View file @
dcdf0b2a
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
margin
:
0
;
margin
:
0
;
text-align
:
left
;
text-align
:
left
;
padding
:
10px
$gl-padding
;
padding
:
10px
$gl-padding
;
word-break
:
break-word
;
.file-actions
{
.file-actions
{
float
:
right
;
float
:
right
;
...
...
app/assets/stylesheets/framework/markdown_area.scss
View file @
dcdf0b2a
...
@@ -84,6 +84,7 @@
...
@@ -84,6 +84,7 @@
.md-preview-holder
{
.md-preview-holder
{
min-height
:
167px
;
min-height
:
167px
;
padding
:
10px
0
;
padding
:
10px
0
;
overflow-x
:
auto
;
}
}
.markdown-area
{
.markdown-area
{
...
...
app/assets/stylesheets/framework/typography.scss
View file @
dcdf0b2a
...
@@ -16,9 +16,8 @@
...
@@ -16,9 +16,8 @@
code
{
code
{
font-family
:
$monospace_font
;
font-family
:
$monospace_font
;
white-space
:
pre
-wrap
;
white-space
:
pre
;
word-wrap
:
normal
;
word-wrap
:
normal
;
word-break
:
break-word
;
}
}
kbd
{
kbd
{
...
...
app/assets/stylesheets/pages/detail_page.scss
View file @
dcdf0b2a
...
@@ -33,8 +33,12 @@
...
@@ -33,8 +33,12 @@
.description
{
.description
{
margin-top
:
6px
;
margin-top
:
6px
;
p
:last-child
{
p
{
overflow-x
:
auto
;
&
:last-child
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
}
}
}
}
}
app/assets/stylesheets/pages/diff.scss
View file @
dcdf0b2a
...
@@ -59,10 +59,15 @@
...
@@ -59,10 +59,15 @@
border-collapse
:
separate
;
border-collapse
:
separate
;
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
.line_holder
td
{
.line_holder
td
{
line-height
:
$code_line_height
;
line-height
:
$code_line_height
;
font-size
:
$code_font_size
;
font-size
:
$code_font_size
;
}
}
td
{
white-space
:
nowrap
;
}
}
}
tr
.line_holder.parallel
{
tr
.line_holder.parallel
{
...
...
app/assets/stylesheets/pages/notes.scss
View file @
dcdf0b2a
...
@@ -82,7 +82,7 @@ ul.notes {
...
@@ -82,7 +82,7 @@ ul.notes {
// On diffs code should wrap nicely and not overflow
// On diffs code should wrap nicely and not overflow
pre
{
pre
{
code
{
code
{
white-space
:
pre
-wrap
;
white-space
:
pre
;
}
}
}
}
...
...
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