mirror of
https://github.com/romancm/gamebrary
synced 2024-11-10 13:44:16 +00:00
make header always fixed
This commit is contained in:
parent
43e4c71d09
commit
34462ff230
1 changed files with 1 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<template lang="html">
|
||||
<b-navbar class="px-3 py-2 border-0 shadow-none" :fixed="fixed">
|
||||
<b-navbar class="px-3 py-2 border-0 shadow-none" fixed="top">
|
||||
<b-navbar-brand :to="{ name: 'home' }" class="border-0 p-0 mr-1">
|
||||
<img src="/static/gamebrary-logo.png" height="30" />
|
||||
|
||||
|
@ -46,12 +46,6 @@ export default {
|
|||
...mapState(['board']),
|
||||
...mapGetters(['sortedBoards']),
|
||||
|
||||
fixed() {
|
||||
return this.$route.name === 'board'
|
||||
? 'top'
|
||||
: '';
|
||||
},
|
||||
|
||||
showBoardTitle() {
|
||||
return this.$route.name === 'board' && this.board.name;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue