Make badge on mobile clickable and move it closer to the bear icon

This commit is contained in:
Lorenz Hübschle-Schneider 2019-11-22 09:47:44 +01:00
parent 14851e4aa1
commit fbb382e835
2 changed files with 7 additions and 2 deletions

View File

@ -811,6 +811,11 @@ img.emojione {
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
width: initial; width: initial;
z-index: -1;
}
#topbar .brand a {
padding: 0 2px 0 10px;
} }
#topbar .brand img { #topbar .brand img {

View File

@ -255,8 +255,8 @@ npm run build-electron-{windows, darwin, linux}</pre>
</div> </div>
<div class="content" id="content" sidebar-state="visible" ng-show="connected" ng-cloak> <div class="content" id="content" sidebar-state="visible" ng-show="connected" ng-cloak>
<div id="topbar"> <div id="topbar">
<div class="brand"> <div class="brand" ng-click="toggleSidebar()">
<a href="#" ng-click="toggleSidebar()"> <a href="#">
<img alt="brand" src="assets/img/favicon.png" title="Connected to {{ settings.host }}:{{ settings.port}}"> <img alt="brand" src="assets/img/favicon.png" title="Connected to {{ settings.host }}:{{ settings.port}}">
</a> </a>
<span class="badge" ng-show="unread > 0">{{unread}}</span> <span class="badge" ng-show="unread > 0">{{unread}}</span>