diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index d94d27bb..0dd6b337 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -153,6 +153,9 @@ export default { created() { window.addEventListener('resize', this.resize) }, + mounted() { + this.resize() + }, methods: { toggleFavoriteList(list) { // The favorites pseudo list is always favorite diff --git a/src/styles/theme/content.scss b/src/styles/theme/content.scss index d63b1251..45ee2ff6 100644 --- a/src/styles/theme/content.scss +++ b/src/styles/theme/content.scss @@ -16,6 +16,11 @@ margin-left: 0; padding-top: 1.5em; min-height: calc(100vh - 4rem); + + &.is-menu-enabled { + min-width: 100%; + margin-left: 0; + } } .card {