changeset 1254:8ff6ff0e63a7

don't animate morphtool box to prevent it from jumping around when the infobar component is displayed
author Markus Kottlaender <markus@intevation.de>
date Wed, 21 Nov 2018 12:22:39 +0100
parents fdcbee9a2efa
children 13abf612cd9d
files client/src/morphtool/Morphtool.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/morphtool/Morphtool.vue	Wed Nov 21 12:17:29 2018 +0100
+++ b/client/src/morphtool/Morphtool.vue	Wed Nov 21 12:22:39 2018 +0100
@@ -1,5 +1,5 @@
 <template>
-    <div :class="['box ui-element rounded bg-white ml-auto mr-3 mb-3 text-nowrap', { expanded: selectedBottleneck && surveys && !selectedSurvey }]">
+    <div class="box expanded ui-element rounded bg-white ml-auto mr-3 mb-3 text-nowrap" v-if="selectedBottleneck && surveys && !selectedSurvey">
         <div style="width: 15rem">
             <h5 class="mb-0 py-2 px-3 border-bottom d-flex align-items-center">
               {{ selectedBottleneck }}