Mobile Menu Fixes #332

Merged
konrad merged 5 commits from azymondrian/vikunja-frontend:mobile_menu_fixes into master 2020-12-17 11:45:26 +00:00
2 changed files with 8 additions and 0 deletions

View File

@ -153,6 +153,9 @@ export default {
created() { created() {
window.addEventListener('resize', this.resize) window.addEventListener('resize', this.resize)
}, },
mounted() {
this.resize()
},
methods: { methods: {
toggleFavoriteList(list) { toggleFavoriteList(list) {
// The favorites pseudo list is always favorite // The favorites pseudo list is always favorite

View File

@ -16,6 +16,11 @@
margin-left: 0; margin-left: 0;
padding-top: 1.5em; padding-top: 1.5em;
min-height: calc(100vh - 4rem); min-height: calc(100vh - 4rem);
&.is-menu-enabled {
min-width: 100%;
margin-left: 0;
}
} }
.card { .card {