changeset 4695:a83e4721baaf

fairwayprofile: fix broken legend
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 16 Oct 2019 15:52:50 +0200
parents e326874dd2c4
children 4f3e88d4010b
files client/src/components/fairway/Fairwayprofile.vue
diffstat 1 files changed, 6 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue	Wed Oct 16 15:44:38 2019 +0200
+++ b/client/src/components/fairway/Fairwayprofile.vue	Wed Oct 16 15:52:50 2019 +0200
@@ -14,10 +14,9 @@
         <div class="legend">
           <span
             :style="
-              'width: 16px; height: 16px; background-color:' +
+              'width: 16px; height: 16px; background:' +
                 this.getLayerStyle(1).fillColor +
-                ',' +
-                '); border: dotted 2px ' +
+                '; border: dotted 2px ' +
                 this.getLayerStyle(1).strokeColor +
                 '; background-clip: padding-box; box-sizing: content-box;'
             "
@@ -29,10 +28,9 @@
         <div class="legend">
           <span
             :style="
-              'width: 16px; height: 16px; background-color:' +
+              'width: 16px; height: 16px; background:' +
                 this.getLayerStyle(2).fillColor +
-                ',' +
-                '); border: dashed 2px ' +
+                '; border: dashed 2px ' +
                 this.getLayerStyle(2).strokeColor +
                 '; background-clip: padding-box; box-sizing: content-box;'
             "
@@ -44,10 +42,9 @@
         <div class="legend">
           <span
             :style="
-              'width: 16px; height: 16px; background-color:' +
+              'width: 16px; height: 16px; background:' +
                 this.getLayerStyle(3).fillColor +
-                ',' +
-                '); border: solid 2px ' +
+                '; border: solid 2px ' +
                 this.getLayerStyle(3).strokeColor +
                 '; background-clip: padding-box; box-sizing: content-box;'
             "