diff --git a/src/App.js b/src/App.js index 3bfd307f..97e82e7c 100644 --- a/src/App.js +++ b/src/App.js @@ -53,7 +53,8 @@ export default { }, logoBgStyle () { return Object.assign({ - 'margin': `${this.$store.state.instance.logoMargin} 0` + 'margin-top': `${this.$store.state.instance.logoMargin}`, + 'margin-bottom': `${this.$store.state.instance.logoMargin}` }, this.enableMask ? {} : { 'background-color': this.enableMask ? '' : 'transparent' }) diff --git a/src/App.scss b/src/App.scss index fcab3b1c..de87c3de 100644 --- a/src/App.scss +++ b/src/App.scss @@ -237,11 +237,9 @@ nav { .logo { display: flex; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; + position: relative; + + margin-right: .5em; align-items: stretch; justify-content: center; diff --git a/src/App.vue b/src/App.vue index 7716ac39..1a0fe972 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,15 +1,15 @@