Merge branch 'improve-diff-ui' into 'master'
Add space to separate different files in diff I propose to add some visual separation between files in diff. Originally this separation was removed in 8.0 because of different UI layout. Now when we have white layout back I think it will be better to add some space between files. - - - Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !3275
This commit is contained in:
commit
bdbc988434
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
// Common
|
||||
.diff-file {
|
||||
border: 1px solid $border-color;
|
||||
border-top: none;
|
||||
margin-bottom: $gl-padding;
|
||||
|
||||
.diff-header {
|
||||
position: relative;
|
||||
|
@ -361,3 +361,11 @@
|
|||
border-color: $border;
|
||||
}
|
||||
}
|
||||
|
||||
.files {
|
||||
margin-top: -1px;
|
||||
|
||||
.diff-file:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue