From 968ac5271c1c571a7513a53833be5c623307d84f Mon Sep 17 00:00:00 2001 From: Titus Kristiansen <titusk@stud.ntnu.no> Date: Thu, 5 May 2022 11:56:45 +0200 Subject: [PATCH] Navbar fixed --- src/components/BaseComponents/NavBar.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/BaseComponents/NavBar.vue b/src/components/BaseComponents/NavBar.vue index 3b6937f..79680fe 100644 --- a/src/components/BaseComponents/NavBar.vue +++ b/src/components/BaseComponents/NavBar.vue @@ -18,14 +18,14 @@ /> <a class="hidden md:block mt-7 text-sm float-right">Legg til</a> </li> - <li> + <li class="cursor-pointer" @click="loadMessages"> <div class="notification-container"> <ChatAlt2Icon - class="m-6 cursor-pointer h-7" + class="m-6 md:mr-2 h-7 text-primary-medium float-left" alt="Meldinger" - @click="loadMessages()" /> - <p @click="loadMessages()" class="notification" v-if="newMessages > 0">{{notifications}}</p> + <p class="notification" v-if="newMessages > 0">{{notifications}}</p> + <a class="hidden md:block mt-7 text-sm float-right">Meldinger</a> </div> </li> <li class="cursor-pointer" @click="loadProfile"> -- GitLab