@@ -74,7 +74,7 @@ const navLinks = [
|
|||||||
<BIIcon name="it-user" color="black"/>
|
<BIIcon name="it-user" color="black"/>
|
||||||
<span v-if="hasUnreadNotifications" class="notification-dot"></span>
|
<span v-if="hasUnreadNotifications" class="notification-dot"></span>
|
||||||
</span>
|
</span>
|
||||||
<span class="d-none d-lg-block">{{ user?.first_name }}</span>
|
<span class="d-none d-lg-block username">{{ user?.first_name }}</span>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
|
|
||||||
<button class="btn btn-primary btn-icon btn-full border-0" @click="logout"
|
<button class="btn btn-primary btn-icon btn-full border-0" @click="logout"
|
||||||
@@ -310,4 +310,11 @@ const navLinks = [
|
|||||||
background: #d9364f;
|
background: #d9364f;
|
||||||
border: 2px solid #ffffff;
|
border: 2px solid #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.username {
|
||||||
|
max-width: 8ch;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user