mirror of https://github.com/bastienwirtz/homer
fix(navbar): Adjust icon spacing #857
parent
a8f7d09bd4
commit
4bd449e036
|
@ -26,10 +26,7 @@
|
|||
:href="link.url"
|
||||
:target="link.target"
|
||||
>
|
||||
<i
|
||||
v-if="link.icon"
|
||||
:class="['fa-fw', link.icon, { 'mr-2': link.name }]"
|
||||
></i>
|
||||
<i v-if="link.icon" :class="['fa-fw', link.icon]"></i>
|
||||
{{ link.name }}
|
||||
</a>
|
||||
</div>
|
||||
|
@ -65,3 +62,11 @@ export default {
|
|||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@media (min-width: 1023px) {
|
||||
i.fa-fw {
|
||||
width: 0.8em;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue