changeset 2739:8057662812f1

client: fixed active state styling in users and bottlenecks table
author Markus Kottlaender <markus@intevation.de>
date Tue, 19 Mar 2019 19:09:41 +0100
parents add2d47c2567
children 85de42146bdb
files client/src/components/Bottlenecks.vue client/src/components/usermanagement/Usermanagement.vue
diffstat 2 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Bottlenecks.vue	Tue Mar 19 18:59:40 2019 +0100
+++ b/client/src/components/Bottlenecks.vue	Tue Mar 19 19:09:41 2019 +0100
@@ -38,7 +38,7 @@
           )
         }}
       </div>
-      <div class="col-2 pr-0 text-right d-flex flex-column">
+      <div class="col-2 py-2 pr-0 text-right d-flex flex-column">
         <a
           class="text-info mt-auto mb-auto mr-2"
           @click="loadSurveys(bottleneck)"
--- a/client/src/components/usermanagement/Usermanagement.vue	Tue Mar 19 18:59:40 2019 +0100
+++ b/client/src/components/usermanagement/Usermanagement.vue	Tue Mar 19 19:09:41 2019 +0100
@@ -111,15 +111,14 @@
   width: 100%
 
 .table-body
-  .row
+  /deep/.row
     > div
       transition: background-color 0.3s, color 0.3s
     &.active
-      > div
-        background-color: $color-info
-        color: #fff
-        a
-          color: #fff !important
+      background-color: $color-info
+      color: #fff
+      a
+        color: #fff !important
 </style>
 
 <script>