File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
app/assets/stylesheets/pages Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 2
2
.diff-file {
3
3
margin-bottom : $gl-padding ;
4
4
5
+ & .conflict {
6
+ border-top : 1px solid $border-color ;
7
+ }
8
+
5
9
.file-title ,
6
10
.file-title-flex-parent {
11
+ border-top-left-radius : $border-radius-default ;
12
+ border-top-right-radius : $border-radius-default ;
7
13
cursor : pointer ;
8
14
9
15
@media (min-width : map-get ($grid-breakpoints , md )) {
67
73
}
68
74
}
69
75
76
+ @media (min-width : map-get ($grid-breakpoints , md )) {
77
+ & .conflict .file-title ,
78
+ & .conflict .file-title-flex-parent {
79
+ top : $header-height ;
80
+ }
81
+
82
+ .with-performance-bar & .conflict .file-title ,
83
+ .with-performance-bar & .conflict .file-title-flex-parent {
84
+ top : $header-height + $performance-bar-height ;
85
+ }
86
+
87
+ .with-system-header & .conflict .file-title ,
88
+ .with-system-header & .conflict .file-title-flex-parent {
89
+ top : $header-height + $system-header-height ;
90
+ }
91
+
92
+ .with-system-header.with-performance-bar & .conflict .file-title ,
93
+ .with-system-header.with-performance-bar & .conflict .file-title-flex-parent {
94
+ top : $header-height + $performance-bar-height + $system-header-height ;
95
+ }
96
+ }
97
+
70
98
.diff-content {
71
99
background : $white-light ;
72
100
color : $gl-text-color ;
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Fix file header style and position during scroll in a merge conflict resolution
3
+ merge_request : 31991
4
+ author :
5
+ type : fixed
You can’t perform that action at this time.
0 commit comments