Skip to content

Commit

Permalink
Merge pull request #824 from nextcloud/bugfix/noid/make-unread-count-…
Browse files Browse the repository at this point in the history
…more-obvious

Make the unread count more obvious
  • Loading branch information
Ivansss authored Apr 27, 2018
2 parents b879290 + fad03fb commit 25423d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@
height: 32px;
}

#app-navigation .app-navigation-entry-utils-counter span {
padding: 2px 5px;
border-radius: 10px;
background-color: $color-primary;
color: $color-primary-text;
}

.public-room {
display: block !important;
}
Expand Down
2 changes: 1 addition & 1 deletion js/views/roomlistview.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
var ITEM_TEMPLATE = '<a class="app-navigation-entry-link" href="#{{id}}" data-token="{{token}}"><div class="avatar" data-user="{{name}}" data-user-display-name="{{displayName}}"></div> {{displayName}}</a>'+
'<div class="app-navigation-entry-utils">'+
'<ul>'+
'{{#if unreadMessages}}<li class="app-navigation-entry-utils-counter">{{unreadMessages}}</li>{{/if}}'+
'{{#if unreadMessages}}<li class="app-navigation-entry-utils-counter"><span>{{unreadMessages}}</span></li>{{/if}}'+
'<li class="app-navigation-entry-utils-menu-button"><button></button></li>'+
'</ul>'+
'</div>'+
Expand Down

0 comments on commit 25423d9

Please sign in to comment.