diff options
author | Phil Hughes <me@iamphill.com> | 2017-03-24 12:49:10 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-03-28 16:58:51 +0300 |
commit | 598973c3890de88fe239e3b4b8aa8a2574520751 (patch) | |
tree | 13bee89a74bfc0c2fc825e44aef8f6e144c18a2d /app/assets/stylesheets/framework/nav.scss | |
parent | ad831ace7ed8d2ed999b15f8350aaa51f0490124 (diff) |
Fixed inner page tabs not being scrollable
Some inner page tabs where not scrollable like the top nav & this caused
them to break onto new lines mobile.
This pages include:
- dashboard/projects
- project -> merge_requests
- search
- project -> milestones
- project -> pipelines
Closes #18853
Diffstat (limited to 'app/assets/stylesheets/framework/nav.scss')
-rw-r--r-- | app/assets/stylesheets/framework/nav.scss | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss index 5ab505034b6..e113d559664 100644 --- a/app/assets/stylesheets/framework/nav.scss +++ b/app/assets/stylesheets/framework/nav.scss @@ -476,3 +476,27 @@ } } } + +.inner-page-scroll-tabs { + position: relative; + + .fade-right { + @include fade(left, $white-light); + right: 0; + text-align: right; + + .fa { + right: 5px; + } + } + + .fade-left { + @include fade(right, $white-light); + left: 0; + text-align: left; + + .fa { + left: 5px; + } + } +} |