diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-11-06 14:57:50 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-11-06 14:57:50 +0200 |
| commit | 56c1d65384603c9a57e16210aca23829235c7893 (patch) | |
| tree | 99fc4634e8d613e1b630f671a858539bda35f124 /src/components/side_drawer | |
| parent | 0206b2bcc5cceae937bdad1922c57f8c84621d26 (diff) | |
| parent | dbeecd18acfc14920c49324e08600dadba7127d7 (diff) | |
Merge branch 'develop' into feat/favicon-badge
Diffstat (limited to 'src/components/side_drawer')
| -rw-r--r-- | src/components/side_drawer/side_drawer.vue | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/components/side_drawer/side_drawer.vue b/src/components/side_drawer/side_drawer.vue index ed1ccb7d..28c888fe 100644 --- a/src/components/side_drawer/side_drawer.vue +++ b/src/components/side_drawer/side_drawer.vue @@ -70,7 +70,7 @@ /> {{ $t("nav.chats") }} <span v-if="unreadChatCount" - class="badge badge-notification unread-chat-count" + class="badge badge-notification" > {{ unreadChatCount }} </span> @@ -99,7 +99,7 @@ /> {{ $t("nav.friend_requests") }} <span v-if="followRequestCount > 0" - class="badge follow-request-count" + class="badge badge-notification" > {{ followRequestCount }} </span> @@ -272,12 +272,11 @@ --lightText: var(--popoverLightText, $fallback--lightText); --icon: var(--popoverIcon, $fallback--icon); - .follow-request-count { - vertical-align: baseline; - background-color: $fallback--bg; - background-color: var(--input, $fallback--faint); + .badge { + position: absolute; + right: 0.7rem; + top: 1em; } - } .side-drawer-logo-wrapper { |
