Diff touch ups
This commit is contained in:
parent
6ee2069768
commit
d76878b960
5 changed files with 8 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
}
|
||||
|
||||
.diff-line-num, .diff-line-num a {
|
||||
color: #8f8f8f;
|
||||
color: $black-transparent;
|
||||
}
|
||||
|
||||
// Code itself
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
padding: 10px 16px;
|
||||
color: #555;
|
||||
z-index: 10;
|
||||
border-radius: 3px 3px 0 0;
|
||||
|
||||
.diff-title {
|
||||
font-family: $monospace_font;
|
||||
|
@ -333,6 +334,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.files-changed {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
// Mobile
|
||||
@media (max-width: 480px) {
|
||||
.diff-title {
|
||||
|
|
|
@ -182,12 +182,3 @@
|
|||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.note-reply-field {
|
||||
background-color: $background-color;
|
||||
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
border-color: $border-color;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
- diff_files = safe_diff_files(diffs, diff_refs)
|
||||
|
||||
.content-block.oneline-block
|
||||
.content-block.oneline-block.files-changed
|
||||
.inline-parallel-buttons
|
||||
.btn-group
|
||||
= inline_diff_btn
|
||||
|
|
|
@ -60,6 +60,7 @@ Feature: Project Commits Diff Comments
|
|||
Scenario: I have a reply button in discussions
|
||||
Given I leave a diff comment like "Typo, please fix"
|
||||
Then I should see a discussion reply button
|
||||
|
||||
@javascript
|
||||
Scenario: I can preview with text
|
||||
Given I open a diff comment form
|
||||
|
|
Loading…
Reference in a new issue