Skip to content

Commit

Permalink
Merge pull request #126 from LCOGT/fix/navbar-page-indicator
Browse files Browse the repository at this point in the history
Broken slider for v-tabs and routerlink
  • Loading branch information
LTDakin authored Nov 14, 2024
2 parents 93352c4 + 04874fa commit e32ca62
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/components/Global/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,20 @@ import UserMenu from './UserMenu.vue'
text="DATALAB"
class="nav-text"
/>
<v-tabs>
<RouterLink to="/projects">
<v-tabs hide-slider>
<RouterLink
active-class="active-tab"
to="/projects"
>
<v-tab
text="Projects"
class="nav-text"
/>
</RouterLink>
<RouterLink to="/datasessions">
<RouterLink
active-class="active-tab"
to="/datasessions"
>
<v-tab
text="Data Sessions"
class="nav-text"
Expand All @@ -46,4 +52,7 @@ import UserMenu from './UserMenu.vue'
font-weight: 600;
font-size: 1rem;
}
.active-tab {
background-color: var(--dark-blue);
}
</style>

0 comments on commit e32ca62

Please sign in to comment.