Commit bd27daaa authored by Simon Knox's avatar Simon Knox

Merge branch 'tor/defect/sticky-header-unitless-calc-value' into 'master'

Resolve "Unitless number in CSS `calc()` causes the computation to fail"

See merge request gitlab-org/gitlab!77633
parents 56994bf0 9ddde891
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
@media (min-width: map-get($grid-breakpoints, md)) { @media (min-width: map-get($grid-breakpoints, md)) {
// The `+11` is to ensure the file header border shows when scrolled - // The `+11` is to ensure the file header border shows when scrolled -
// the bottom of the compare-versions header and the top of the file header // the bottom of the compare-versions header and the top of the file header
$mr-file-header-top: calc(#{$mr-version-controls-height} + #{$header-height} + #{$mr-tabs-height} + 11); $mr-file-header-top: calc(#{$mr-version-controls-height} + #{$header-height} + #{$mr-tabs-height} + 11px);
position: -webkit-sticky; position: -webkit-sticky;
position: sticky; position: sticky;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment