From 454321430a944ce3b6bc7f82e4693bf2017248e7 Mon Sep 17 00:00:00 2001 From: djmaze Date: Thu, 29 Apr 2021 15:15:01 +0200 Subject: [PATCH] Bugfix: multiple accounts showed both fontastic glyphs --- dev/Styles/SystemDropDown.less | 13 ++----------- .../app/templates/Views/User/SystemDropDown.html | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/dev/Styles/SystemDropDown.less b/dev/Styles/SystemDropDown.less index 72c5b450e..77a687081 100644 --- a/dev/Styles/SystemDropDown.less +++ b/dev/Styles/SystemDropDown.less @@ -78,19 +78,10 @@ } .account-item { - - .icon-ok { + &:not(.current) i:first-child, + &.current i + i { display: none; } - - &.current { - .icon-ok { - display: inline-block; - } - .icon-user { - display: none; - } - } } .counter { diff --git a/snappymail/v/0.0.0/app/templates/Views/User/SystemDropDown.html b/snappymail/v/0.0.0/app/templates/Views/User/SystemDropDown.html index a9f27038c..f202d9448 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/SystemDropDown.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/SystemDropDown.html @@ -33,7 +33,7 @@ 99+ --> - 👤 + 👤