Skip to content
Snippets Groups Projects
Commit c8116ebd authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Merge branch 'sitcky-prefix-fix' into 'master'

Fixed sticky bar styling in Safari

Closes #58625

See merge request gitlab-org/gitlab-ce!25913
parents b4852ab4 cf05e49f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -102,6 +102,6 @@
"selector-pseudo-element-no-unknown":true,
"shorthand-property-no-redundant-values":true,
"string-quotes":"single",
"value-no-vendor-prefix":true
"value-no-vendor-prefix":[true, { ignoreValues: ["sticky"] }]
}
}
Loading
Loading
@@ -259,6 +259,7 @@
background: $gray-light;
border: 1px solid $border-color;
color: $gl-text-color;
position: -webkit-sticky;
position: sticky;
top: $header-height;
padding: $grid-size;
Loading
Loading
Loading
Loading
@@ -9,6 +9,7 @@
@media (min-width: map-get($grid-breakpoints, md)) {
$mr-file-header-top: $mr-version-controls-height + $header-height + $mr-tabs-height;
 
position: -webkit-sticky;
position: sticky;
top: $mr-file-header-top;
z-index: 102;
Loading
Loading
@@ -725,6 +726,7 @@
}
 
@include media-breakpoint-up(sm) {
position: -webkit-sticky;
position: sticky;
top: $header-height;
background-color: $white-light;
Loading
Loading
@@ -1015,6 +1017,7 @@
}
 
.diff-tree-list {
position: -webkit-sticky;
position: sticky;
$top-pos: $header-height + $mr-tabs-height + $mr-version-controls-height + 10px;
top: $header-height + $mr-tabs-height + $mr-version-controls-height + 10px;
Loading
Loading
Loading
Loading
@@ -784,6 +784,7 @@
}
 
@include media-breakpoint-up(md) {
position: -webkit-sticky;
position: sticky;
top: $header-height + $mr-tabs-height;
width: 100%;
Loading
Loading
@@ -810,6 +811,7 @@
border-bottom: 1px solid $border-color;
 
@include media-breakpoint-up(sm) {
position: -webkit-sticky;
position: sticky;
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment