diff --git a/src/layouts/Default.vue b/src/layouts/Default.vue index 31fab9ac8..874a25722 100644 --- a/src/layouts/Default.vue +++ b/src/layouts/Default.vue @@ -1,8 +1,16 @@ @@ -16,41 +24,41 @@ query { \ No newline at end of file diff --git a/src/layouts/partials/Navbar.vue b/src/layouts/partials/Navbar.vue index 3ddcc4505..42e62228f 100644 --- a/src/layouts/partials/Navbar.vue +++ b/src/layouts/partials/Navbar.vue @@ -200,7 +200,7 @@ export default { headerHeight: 0, isOpen: false, search: "", - open: false + open: false, }; }, @@ -248,4 +248,8 @@ input:focus, button:focus { outline: 0; } + +.inset-0 { + z-index: 999; +} \ No newline at end of file diff --git a/src/pages/Index.vue b/src/pages/Index.vue index 259f43270..8bc946e08 100644 --- a/src/pages/Index.vue +++ b/src/pages/Index.vue @@ -1,16 +1,16 @@ @@ -22,17 +22,16 @@ export default { metaInfo: { title: "Home", }, - + computed: { + contentHeight() { + return window.innerHeight - 128; + }, + }, components: { VueMarkdown, }, }; - > diff --git a/src/pages/News.vue b/src/pages/News.vue index d0b16ac64..e5d3ba75c 100644 --- a/src/pages/News.vue +++ b/src/pages/News.vue @@ -1,7 +1,10 @@ @@ -62,12 +65,15 @@ export default { }, components: { PostListItem, - Pagination + Pagination, }, computed: { - baseurl: function() { - return "" - } + baseurl: function () { + return ""; + }, + contentHeight() { + return window.innerHeight - 160; + }, }, }; diff --git a/src/templates/Search.vue b/src/templates/Search.vue index 49549fa31..78ebf88cc 100644 --- a/src/templates/Search.vue +++ b/src/templates/Search.vue @@ -1,6 +1,9 @@