Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-02-22 12:21:03 +0300
committerPhil Hughes <me@iamphill.com>2019-02-22 12:21:03 +0300
commit45b3513f12570e367b6ee4e49306cb6115f97c5f (patch)
tree7da095db39b4a0c0530c58f17df553dbf1aac7ab /app/assets/stylesheets/pages/diff.scss
parent321e26f34d7a13594dd5e63734bcb6577e389925 (diff)
parenta1e0f387bfc7c01e41c487b598c3828fa89da397 (diff)
Merge branch '56873-only-load-syntax-highlighting-css-when-selected' into 'master'
Resolve "Only load syntax highlighting css when selected" Closes #57739 and #56873 See merge request gitlab-org/gitlab-ce!25232
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r--app/assets/stylesheets/pages/diff.scss12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index ae0768592e0..d001dff7986 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -602,18 +602,6 @@
}
}
-@mixin diff-background($background, $idiff, $border) {
- background: $background;
-
- &.line_content span.idiff {
- background: $idiff;
- }
-
- &.diff-line-num {
- border-color: $border;
- }
-}
-
.files {
.diff-file:last-child {
margin-bottom: 0;