changeset 2406:b72d3da6409c

client: fixed indicator style in sidebar menu when menu item is active
author Markus Kottlaender <markus@intevation.de>
date Thu, 28 Feb 2019 10:18:21 +0100
parents ef928c63388a
children 8fc546b03822
files client/src/components/Sidebar.vue
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue	Thu Feb 28 08:37:41 2019 +0100
+++ b/client/src/components/Sidebar.vue	Thu Feb 28 10:18:21 2019 +0100
@@ -257,9 +257,13 @@
   .indicator {
     left: auto;
     right: 10px;
-    top: 10px;
+    top: 12px;
     border-radius: 0.25rem;
   }
+  &.router-link-exact-active .indicator {
+    background: #fff;
+    color: #333;
+  }
 }
 
 .menu a svg path {