changeset 2948:f6cd4ebd8562

client: importoverview: improved heights and scrolling
author Markus Kottlaender <markus@intevation.de>
date Fri, 05 Apr 2019 13:52:22 +0200
parents a6eea3002e6e
children 91539caae611
files client/src/components/Bottlenecks.vue client/src/components/Contextbox.vue client/src/components/importoverview/BottleneckDetail.vue
diffstat 3 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Bottlenecks.vue	Fri Apr 05 12:47:35 2019 +0200
+++ b/client/src/components/Bottlenecks.vue	Fri Apr 05 13:52:22 2019 +0200
@@ -18,7 +18,7 @@
           title: `${latestmeasurementLabel}`,
           width: '150px'
         },
-        { id: 'properties.from', title: `${chainageLabel}`, width: '150px' }
+        { id: 'properties.from', title: `${chainageLabel}`, width: '135px' }
       ]"
     />
     <UITableBody
@@ -38,7 +38,7 @@
         <div class="table-cell" style="width: 150px">
           {{ bottleneck.properties.current | surveyDate }}
         </div>
-        <div class="table-cell" style="width: 150px">
+        <div class="table-cell" style="width: 135px">
           {{
             displayCurrentChainage(
               bottleneck.properties.from,
@@ -46,7 +46,7 @@
             )
           }}
         </div>
-        <div class="table-cell center" style="width: 30px">
+        <div class="table-cell center" style="flex-grow: 1">
           <UISpinnerButton
             @click="loadSurveys(bottleneck)"
             :loading="loading === bottleneck"
--- a/client/src/components/Contextbox.vue	Fri Apr 05 12:47:35 2019 +0200
+++ b/client/src/components/Contextbox.vue	Fri Apr 05 13:52:22 2019 +0200
@@ -85,7 +85,6 @@
 
 .contextboxextended {
   max-width: 660px;
-  max-height: 95vh;
 }
 
 .close-contextbox {
--- a/client/src/components/importoverview/BottleneckDetail.vue	Fri Apr 05 12:47:35 2019 +0200
+++ b/client/src/components/importoverview/BottleneckDetail.vue	Fri Apr 05 13:52:22 2019 +0200
@@ -66,9 +66,6 @@
 
 .split
   max-height: 35vh
-
-.full
-  max-height: 70vh
 </style>
 
 <script>