diff options
author | Phil Hughes <me@iamphill.com> | 2019-01-24 19:14:14 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-01-24 19:14:14 +0300 |
commit | f10d75ecf6eaa568fc46a36a965c1d654a8317ef (patch) | |
tree | 9e90058c4fe05f8564c9093e27dbae14304dfefd /app/assets/stylesheets/pages/diff.scss | |
parent | a59563a1043dae27790779bd47a01ca509c6b875 (diff) |
Fixed diff tree folders being rendered incorrectly
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r-- | app/assets/stylesheets/pages/diff.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss index 4f804866886..dc542f09b75 100644 --- a/app/assets/stylesheets/pages/diff.scss +++ b/app/assets/stylesheets/pages/diff.scss @@ -1029,7 +1029,7 @@ 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; - max-height: calc(100vh - $top-pos); + max-height: calc(100vh - #{$top-pos}); padding-right: $gl-padding; .file-row { @@ -1040,7 +1040,7 @@ .with-performance-bar & { $performance-bar-top-pos: $performance-bar-height + $top-pos; top: $performance-bar-top-pos; - max-height: calc(100vh - $performance-bar-top-pos); + max-height: calc(100vh - #{$performance-bar-top-pos}); } } |