From aef2cf8c2db7f71747dd048021b1e9af6129a7b0 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 19 Sep 2018 19:43:49 +0200 Subject: [PATCH] Navigation: Fix notification number --- src/styles/_notifications.sass | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/styles/_notifications.sass b/src/styles/_notifications.sass index dbbf40e1..8c005908 100644 --- a/src/styles/_notifications.sass +++ b/src/styles/_notifications.sass @@ -61,12 +61,12 @@ #notifications-count align-items: center - background-color: $color-secondary + background-color: #f42942 border-radius: 50% color: white display: flex font: - size: .5em + size: $font-size-xxs weight: bolder family: sans-serif height: 18px @@ -74,14 +74,20 @@ opacity: 0 padding: 0 position: absolute - right: 14px + right: 0 text-align: center - top: 10px + top: 8px transform: scale(0) transition: transform 250ms ease-in-out user-select: none width: 18px + /* The actual number. */ + span + position: relative + top: 0 + + #notifications-list list-style-type: none