From 73b858ad0b576c81d1294ff6309eac42a58fb3b3 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Wed, 15 Nov 2023 13:03:23 +0100 Subject: [PATCH] Some UI --- components/EditGitlab.vue | 1 + components/Footer.vue | 2 +- components/Nav/TableOfContent.vue | 2 +- layouts/article-no-toc.vue | 4 ++-- layouts/article.vue | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/components/EditGitlab.vue b/components/EditGitlab.vue index ed11924b..0a87bb19 100644 --- a/components/EditGitlab.vue +++ b/components/EditGitlab.vue @@ -2,6 +2,7 @@ <v-row> <v-col> <v-btn prepend-icon="mdi-gitlab" variant="text" size="small" :href="path" target="_blank">Edit on gitlab</v-btn> + <v-divider> </v-divider> </v-col> </v-row> </template> diff --git a/components/Footer.vue b/components/Footer.vue index d08796d0..0834b221 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -1,5 +1,5 @@ <template> - <v-footer app border text-center d-flex flex-column> + <v-footer app text-center d-flex flex-column> <div class="px-4 text-center w-100"> <span><a href="https://mdmlab.fr/" target="_blank"><v-img src="/cropped-logoblue-288x129.png" inline :width="70" :aspect-ratio="288 / 129"></v-img></a></span> diff --git a/components/Nav/TableOfContent.vue b/components/Nav/TableOfContent.vue index da744b19..720ef4c2 100644 --- a/components/Nav/TableOfContent.vue +++ b/components/Nav/TableOfContent.vue @@ -11,7 +11,7 @@ const { mobile } = useDisplay(); </script> <template> - <v-navigation-drawer v-if="!mobile" id="app-toc" location="right" :border="0" permanent> + <v-navigation-drawer v-if="!mobile" id="app-toc" location="right" :border="0" permanent color="transparent"> <template #prepend> <div class="text-h6 font-weight-medium mt-4 mb-2 ms-4">Contents</div> </template> diff --git a/layouts/article-no-toc.vue b/layouts/article-no-toc.vue index 2a009555..4e842a7a 100644 --- a/layouts/article-no-toc.vue +++ b/layouts/article-no-toc.vue @@ -13,10 +13,10 @@ import { useDisplay } from 'vuetify' <v-main style="min-height: 300px"> <v-container> <slot /> - <EditGitlab /> + <!-- <EditGitlab /> --> <NavPrevNext /> </v-container> - <Footer></Footer> + <!-- <Footer></Footer> --> </v-main> <NavNavbar /> <nav-back-to-top /> diff --git a/layouts/article.vue b/layouts/article.vue index d8f8a0dd..1312a62f 100644 --- a/layouts/article.vue +++ b/layouts/article.vue @@ -28,7 +28,7 @@ function onScroll(e) { <EditGitlab /> <NavPrevNext /> </v-container> - <Footer></Footer> + <!-- <Footer></Footer> --> </v-main> <NavNavbar :density="density" /> <NavTableOfContent :links="page.body.toc.links" /> -- GitLab