From 6f51a04ff2c9b80cc9fcd49d34afffaf480df9ab Mon Sep 17 00:00:00 2001 From: Titus Kristiansen <titusk@stud.ntnu.no> Date: Mon, 2 May 2022 14:12:50 +0200 Subject: [PATCH] Navbar position fix --- src/components/BaseComponents/NavBar.vue | 2 +- src/views/CommunityViews/CommunityView.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/BaseComponents/NavBar.vue b/src/components/BaseComponents/NavBar.vue index 58020e2..62ab398 100644 --- a/src/components/BaseComponents/NavBar.vue +++ b/src/components/BaseComponents/NavBar.vue @@ -1,6 +1,6 @@ <template> <nav - class="flex items-center bg-white justify-between h-14 border-1 border-b border-gray-300 border-solid sticky top-0 z-50" + class="sticky top-0 z-50 flex items-center bg-white justify-between h-14 border-1 border-b border-gray-300 border-solid" > <div class="logo"> <img diff --git a/src/views/CommunityViews/CommunityView.vue b/src/views/CommunityViews/CommunityView.vue index bce840c..550245a 100644 --- a/src/views/CommunityViews/CommunityView.vue +++ b/src/views/CommunityViews/CommunityView.vue @@ -1,7 +1,7 @@ <template> <div v-if="loggedIn"> <div class="flex flex-row p-4 relative"> - <p class="text-xl md:text-2xl text-gray-600 font-medium w-full">Mine felleskap</p> + <p class="text-xl md:text-2xl text-gray-600 font-medium w-full">Mine grupper</p> <UserAddIcon class="cursor-pointer max-h-6 max-w-6 float-right grow" @click="$router.push('/newCommunity')" @@ -11,7 +11,7 @@ </div> <CommunityList :communities="myCommunities" :member="true" /> </div> - <p class="text-xl md:text-2xl text-gray-600 font-medium w-full m-4">Offentlige felleskap</p> + <p class="text-xl md:text-2xl text-gray-600 font-medium w-full m-4">Offentlige grupper</p> <CommunityList :communities="publicCommunities" :member="false" /> </template> -- GitLab