diff --git a/src/pages/_partials/MainHeader.vue b/src/pages/_partials/MainHeader.vue index 369afc5..464350f 100644 --- a/src/pages/_partials/MainHeader.vue +++ b/src/pages/_partials/MainHeader.vue @@ -67,8 +67,16 @@ export default { { to: 'kit', variant: 'kit' }, { to: 'gallery', variant: 'creation' } ], - subRoutes: ['home', 'introduction', 'blog', 'contact'], - optionsVisible: window.innerWidth >= 768 + subRoutes: ['home', 'introduction', 'blog', 'contact'] + } + }, + + computed: { + optionsVisible: { + get () { return this.$store.state.optionsVisible }, + set (value) { + this.$store.commit('UPDATE_OPTIONS_VISIBILITY', value) + } } } } @@ -224,12 +232,12 @@ export default { } } -#collapse-options { - @include media-breakpoint-down(sm) { - position: absolute; - z-index: 11; - width: 100%; - border-bottom: $line; - } -} +// #collapse-options { +// @include media-breakpoint-down(sm) { +// position: absolute; +// z-index: 11; +// width: 100%; +// border-bottom: $line; +// } +// } diff --git a/src/pages/library/LibraryOptions.vue b/src/pages/library/LibraryOptions.vue index 7aa9ff6..d3ca204 100644 --- a/src/pages/library/LibraryOptions.vue +++ b/src/pages/library/LibraryOptions.vue @@ -1,5 +1,5 @@