]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
:bug: Fix alignment when navbar link name is empty 115/head
authorGabe Cook <gabe565@gmail.com>
Tue, 28 Jul 2020 22:14:02 +0000 (17:14 -0500)
committerGabe Cook <gabe565@gmail.com>
Tue, 28 Jul 2020 22:18:41 +0000 (17:18 -0500)
src/components/Navbar.vue

index c688a3ab7528c6b79d67cfb9b3a652d99d1eaa83..ae8416688bcb737fb4c5eb539005ea7531060c34 100644 (file)
@@ -28,8 +28,7 @@
             >
               <i
                 v-if="link.icon"
-                style="margin-right: 6px;"
-                :class="['fa-fw', link.icon]"
+                :class="['fa-fw', link.icon, { 'mr-2': link.name }]"
               ></i>
               {{ link.name }}
             </a>