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:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-04-13 20:54:21 +0300
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-04-14 17:10:40 +0300
commitd176f873e1fdf23ebeeebf6d2d25927941016390 (patch)
tree3cd60e40d99235f6689cae652456a18b4486f03b /app/assets/stylesheets/pages/diff.scss
parent7030ffb0e09dbcc0d03d377846a04fe6cf7d20b6 (diff)
Add content attributes to discussion diffs; change styling of add-note icon to prevent white spaces in paste
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r--app/assets/stylesheets/pages/diff.scss26
1 files changed, 18 insertions, 8 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index ca7fa2094b6..bd7640db3b7 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -69,10 +69,12 @@
&.noteable_line.old:before {
content: '-';
+ position: absolute;
}
&.noteable_line.new:before {
content: '+';
+ position: absolute;
}
span {
@@ -400,14 +402,22 @@
}
}
-.diff-line-num:not(.js-unfold-bottom) {
- a {
- &:before {
- content: attr(data-linenumber);
+.file-holder {
+ .diff-line-num:not(.js-unfold-bottom) {
+ a {
+ &:before {
+ content: attr(data-linenumber);
+ }
+ }
+ }
+}
+
+.discussion {
+ .diff-content {
+ .diff-line-num {
+ &:before {
+ content: attr(data-linenumber);
+ }
}
- -moz-user-select: none;
- -webkit-user-select: none;
- -ms-user-select: none;
- user-select: none;
}
}