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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2830cb92
Commit
2830cb92
authored
7 years ago
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consistently style image in blob and diff
parent
db40c668
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
app/assets/stylesheets/framework/files.scss
app/assets/stylesheets/framework/files.scss
+1
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+0
-1
app/assets/stylesheets/pages/diff.scss
app/assets/stylesheets/pages/diff.scss
+1
-1
No files found.
app/assets/stylesheets/framework/files.scss
View file @
2830cb92
...
...
@@ -66,10 +66,10 @@
&
.video
{
background
:
$file-image-bg
;
text-align
:
center
;
padding
:
30px
;
img
,
video
{
padding
:
20px
;
max-width
:
80%
;
}
}
...
...
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/framework/variables.scss
View file @
2830cb92
...
...
@@ -247,7 +247,6 @@ $dark-diff-match-bg: rgba(255, 255, 255, 0.3);
$dark-diff-match-color
:
rgba
(
255
,
255
,
255
,
0
.1
);
$file-mode-changed
:
#777
;
$file-mode-changed
:
#777
;
$diff-image-bg
:
#ddd
;
$diff-image-info-color
:
grey
;
$diff-swipe-border
:
#999
;
$diff-view-modes-color
:
grey
;
...
...
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/pages/diff.scss
View file @
2830cb92
...
...
@@ -158,7 +158,7 @@
}
.image
{
background
:
$
diff
-image-bg
;
background
:
$
file
-image-bg
;
text-align
:
center
;
padding
:
30px
;
...
...
This diff is collapsed.
Click to expand it.
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