mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-12-17 05:39:50 +01:00
fix(navbar): Adjust icon spacing #857
This commit is contained in:
@@ -26,10 +26,7 @@
|
|||||||
:href="link.url"
|
:href="link.url"
|
||||||
:target="link.target"
|
:target="link.target"
|
||||||
>
|
>
|
||||||
<i
|
<i v-if="link.icon" :class="['fa-fw', link.icon]"></i>
|
||||||
v-if="link.icon"
|
|
||||||
:class="['fa-fw', link.icon, { 'mr-2': link.name }]"
|
|
||||||
></i>
|
|
||||||
{{ link.name }}
|
{{ link.name }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -65,3 +62,11 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
@media (min-width: 1023px) {
|
||||||
|
i.fa-fw {
|
||||||
|
width: 0.8em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user