diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-03 12:56:31 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-03 12:56:31 +0300 |
| commit | 21d1f557f64cceda54755e2817d4799f1dbbea4f (patch) | |
| tree | 0f0ba7c61651990bed648ee2ec26a3b118dc491f /src/components/nav_panel/nav_panel.vue | |
| parent | 961099d34a3852d1019a00d390ad638fe45118e4 (diff) | |
change styles for the dropdown, make things work nicely on mobile
Diffstat (limited to 'src/components/nav_panel/nav_panel.vue')
| -rw-r--r-- | src/components/nav_panel/nav_panel.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue index ed70f019..1622eafa 100644 --- a/src/components/nav_panel/nav_panel.vue +++ b/src/components/nav_panel/nav_panel.vue @@ -3,7 +3,10 @@ <div class="panel panel-default"> <ul> <li v-if="currentUser"> - <router-link :to="{ name: 'friends' }"> + <router-link + :to="{ name: 'friends' }" + :class="onTimelineRoute && 'router-link-active'" + > <i class="button-icon icon-home-2" /> {{ $t("nav.timeline") }} </router-link> </li> |
