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
79731bfd
Commit
79731bfd
authored
Apr 12, 2019
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaces CSS with utility class
parent
7457c1e1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+0
-5
app/views/projects/diffs/_text_file.html.haml
app/views/projects/diffs/_text_file.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/common.scss
View file @
79731bfd
...
...
@@ -188,11 +188,6 @@ li.note {
background-color
:
inherit
;
}
.show-suppressed-diff
,
.show-all-commits
{
cursor
:
pointer
;
}
.error-message
{
padding
:
10px
;
background
:
$red-400
;
...
...
app/views/projects/diffs/_text_file.html.haml
View file @
79731bfd
-
too_big
=
diff_file
.
diff_lines
.
count
>
Commit
::
DIFF_SAFE_LINES
-
if
too_big
.suppressed-container
%a
.show-suppressed-diff.js-show-suppressed-diff
=
_
(
"Changes suppressed. Click to show."
)
%a
.show-suppressed-diff.
cursor-pointer.
js-show-suppressed-diff
=
_
(
"Changes suppressed. Click to show."
)
%table
.text-file.diff-wrap-lines.code.js-syntax-highlight.commit-diff
{
data:
diff_view_data
,
class:
too_big
?
'hide'
:
''
}
=
render
partial:
"projects/diffs/line"
,
...
...
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