Skip to content

Commit

Permalink
feat: button for full navigation when flags.navigation == false
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed May 14, 2022
1 parent c920c10 commit d619664
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pages/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -580,3 +580,8 @@ header {
display: none;
}
}

.advanced-button {
border: none;
float: right;
}
4 changes: 3 additions & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<div v-else>
<v-tour v-if="$store.state.flags.tour" name="introTour" :steps="introTourSteps" :options="{ highlight: true }"></v-tour>

<el-button class="advanced-button" @click="$store.commit('flags', {navigation: true})" v-if="!$store.state.flags.navigation">...</el-button>

<header v-if="$store.state.flags.navigation">
<el-button
v-if="$store.state.flags.tour"
Expand Down Expand Up @@ -947,7 +949,7 @@ export default {
} catch(e) {
this.jsonLoadError = true;
this.jsonLoading = false;
// console.log('e: ', e);
console.error(e);
}
},
Expand Down

0 comments on commit d619664

Please sign in to comment.