diff client/src/components/map/Pdftool.vue @ 1299:2738a6ae9ad8

fontawesome 4 -> 5 An icon was not displayed on a specific system/environment. No clue why... good moment to switch to version 5 of fontawesome
author Markus Kottlaender <markus@intevation.de>
date Fri, 23 Nov 2018 10:24:29 +0100
parents e9fb72fa6bae
children ea3a89a1813a
line wrap: on
line diff
--- a/client/src/components/map/Pdftool.vue	Thu Nov 22 17:00:26 2018 +0100
+++ b/client/src/components/map/Pdftool.vue	Fri Nov 23 10:24:29 2018 +0100
@@ -2,9 +2,13 @@
     <div :class="['box ui-element rounded bg-white text-nowrap', { expanded: showPdfTool }]">
         <div style="width: 20rem">
             <h6 class="mb-0 py-2 px-3 border-bottom d-flex align-items-center">
-              <i class="fa fa-file-pdf-o mr-2"></i>
+              <font-awesome-icon icon="file-pdf" class="mr-2"></font-awesome-icon>
               Generate PDF
-              <i class="fa fa-times ml-auto text-muted" @click="$store.commit('application/showPdfTool', false)"></i>
+              <font-awesome-icon
+                  icon="times"
+                  class="ml-auto text-muted"
+                  @click="$store.commit('application/showPdfTool', false)"
+              ></font-awesome-icon>
             </h6>
             <div class="p-3">
                 <b>Chose format:</b>