diff --git a/web/src/App.vue b/web/src/App.vue index 9638852..1ab3118 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -4,7 +4,7 @@ - + {{ successMessage }} @@ -66,6 +66,12 @@ export default { } }, + mounted (){ + const bottomNavBar = this.$refs.bottomNavBar.$el; + const height = bottomNavBar.offsetHeight || bottomNavBar.clientHeight; + this.$store.commit("SET_BOTTOM_NAVBAR_HEIGHT", height); + }, + computed: { successMessage() { return this.$store.state.successMessage; @@ -104,4 +110,4 @@ export default { \ No newline at end of file + diff --git a/web/src/components/FloatMenu.vue b/web/src/components/FloatMenu.vue index 1b752c7..5b0524f 100644 --- a/web/src/components/FloatMenu.vue +++ b/web/src/components/FloatMenu.vue @@ -1,23 +1,19 @@