]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/components/SettingToggle.vue
:lipstick: Add fa-fw to icons by default to fix variable width icons
[github/bastienwirtz/homer.git] / src / components / SettingToggle.vue
index 864a497243df4e7685f427ef469ffb987ce495ab..ffc91a1c041d3fc34bef14b53b5b669661cfa95a 100644 (file)
@@ -1,6 +1,6 @@
 <template>
   <a v-on:click="toggleSetting()" class="navbar-item is-inline-block-mobile">
-    <span><i :class="['fas', value ? icon : iconAlt]"></i></span>
+    <span><i :class="['fas', 'fa-fw', value ? icon : iconAlt]"></i></span>
     <slot></slot>
   </a>
 </template>