Commit e5357345 authored by Aljaz S.'s avatar Aljaz S. 🚀
Browse files

Updated the home button in navbar

parent aaa05db4
<template>
<v-toolbar app>
<v-btn
<v-btn
class="btnnarrow"
flat
exact
:to="{name: 'home'}"
......@@ -8,14 +9,6 @@
<v-icon v-if="$vuetify.breakpoint.xsOnly">mdi-home</v-icon>
<span v-else>SkinsRestorer.net</span>
</v-btn>
<v-btn
flat
exact
:to="{name: 'wiki'}"
>
<v-icon v-if="$vuetify.breakpoint.xsOnly">mdi-wiki</v-icon>
<span v-else>SkinsRestorer.net</span>
</v-btn>
<v-spacer></v-spacer>
<v-btn
v-if="$vuetify.breakpoint.mdAndUp"
......@@ -28,7 +21,7 @@
<v-tooltip bottom>
<template v-slot:activator="{ on }">
<v-btn
class="btnsmall"
class="btnnarrow"
flat
:disabled="disabledReload"
@click.stop="fetchAll"
......@@ -42,7 +35,7 @@
<v-tooltip bottom>
<template v-slot:activator="{ on }">
<v-btn
class="btnsmall"
class="btnnarrow"
flat
@click.stop="toggleDarkMode"
v-on="on"
......@@ -56,7 +49,7 @@
<v-tooltip bottom>
<template v-slot:activator="{ on }">
<v-btn
class="btnsmall"
class="btnnarrow"
flat
href="https://github.com/SkinsRestorer/SkinsRestorerX"
target="_blank"
......@@ -93,14 +86,14 @@ export default {
},
fetchAll () {
this.disabledReload = true
setTimeout(() => this.disabledReload = false, 1000);
setTimeout(() => this.disabledReload = false, 1000)
Store.dispatch('App/fetchAll')
}
},
}
</script>
<style scoped>
.btnsmall {
.btnnarrow {
min-width: unset;
}
</style>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment