changeset 2356:d66f60163c2f

staging: fix optical alignment for non expandable entries
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 20 Feb 2019 13:35:33 +0100
parents 31a1dcdba068
children f910ecf23ce0
files client/src/components/staging/StagingDetail.vue
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/staging/StagingDetail.vue	Wed Feb 20 13:23:30 2019 +0100
+++ b/client/src/components/staging/StagingDetail.vue	Wed Feb 20 13:35:33 2019 +0100
@@ -78,6 +78,13 @@
             <font-awesome-icon icon="times" class="pointer"></font-awesome-icon>
           </button>
         </div>
+        <div
+          v-if="
+            !isBottleneck(data.kind.toUpperCase()) ||
+              isApprovedGaugeMeasurement(data.kind.toUpperCase())
+          "
+          class="expander"
+        ></div>
         <div v-if="isBottleneck(data.kind.toUpperCase())">
           <div class="mt-auto mb-auto text-info text-left">
             <font-awesome-icon
@@ -509,6 +516,10 @@
 </script>
 
 <style lang="scss" scoped>
+.expander {
+  margin-right: 1.25rem;
+}
+
 .bottlenecksdetails {
   overflow-y: auto;
   max-height: 250px;