Commit 9a5556af authored by Phil Hughes's avatar Phil Hughes

Fixed tabs on desktop being all over the place

parent 598973c3
...@@ -17,9 +17,6 @@ export default { ...@@ -17,9 +17,6 @@ export default {
}, },
template: ` template: `
<div class="scrolling-tabs-container">
<div class="fade-left"><i class="fa fa-angle-left"></i></div>
<div class="fade-right"><i class="fa fa-angle-right"></i></div>
<ul class="nav-links scrolling-tabs"> <ul class="nav-links scrolling-tabs">
<li <li
class="js-pipelines-tab-all" class="js-pipelines-tab-all"
...@@ -67,6 +64,5 @@ export default { ...@@ -67,6 +64,5 @@ export default {
<a :href="paths.tagsPath">Tags</a> <a :href="paths.tagsPath">Tags</a>
</li> </li>
</ul> </ul>
</div>
`, `,
}; };
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
<div :class="cssClass"> <div :class="cssClass">
<div <div
class="top-area" class="top-area scrolling-tabs-container"
v-if="!isLoading && !shouldRenderEmptyState"> v-if="!isLoading && !shouldRenderEmptyState">
<navigation-tabs <navigation-tabs
:scope="scope" :scope="scope"
......
...@@ -480,6 +480,12 @@ ...@@ -480,6 +480,12 @@
.inner-page-scroll-tabs { .inner-page-scroll-tabs {
position: relative; position: relative;
.fade-right,
.fade-left {
top: 17px;
bottom: 0;
}
.fade-right { .fade-right {
@include fade(left, $white-light); @include fade(left, $white-light);
right: 0; right: 0;
......
= content_for :flash_message do = content_for :flash_message do
= render 'shared/project_limit' = render 'shared/project_limit'
.top-area.scrolling-tabs-container .top-area.scrolling-tabs-container.inner-page-scroll-tabs
.inner-page-scroll-tabs
.fade-left= icon('angle-left') .fade-left= icon('angle-left')
.fade-right= icon('angle-right') .fade-right= icon('angle-right')
%ul.nav-links.scrolling-tabs %ul.nav-links.scrolling-tabs
......
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