right sidebar: Expand sidebar block width for greater click area.

Fixes #9797
This commit is contained in:
Cynthia Lin 2018-06-01 14:01:22 -07:00 committed by showell
parent c167227ddc
commit 71e3f778cc
3 changed files with 5 additions and 4 deletions

View File

@ -118,6 +118,7 @@
.selectable_sidebar_block {
cursor: pointer;
width: 100%;
}
.group-pms-sidebar-entry,

View File

@ -1,14 +1,14 @@
{{! User Presence rows }}
{{#each group_pms}}
<li data-user-ids="{{user_ids_string}}" class="group-pms-sidebar-entry narrow-filter">
<span class="selectable_sidebar_block">
<div class="selectable_sidebar_block">
{{#if fraction_present}}
<span class="group-pm-status-indicator" style="background:rgba(68,194,29,{{fraction_present}});"></span>
{{else}}
<span class="group-pm-status-indicator" style="background:rgb(255,255,255); border-color:rgb(127,127,127);"></span>
{{/if}}
<a href="{{href}}" data-name="{{name}}" title="{{name}}" class="group-pm-link">{{short_name}}</a>
</span>
</div>
<span class="count"><span class="value"></span></span>
</li>
{{/each}}

View File

@ -1,11 +1,11 @@
<li data-user-id="{{user_id}}" class="user_sidebar_entry {{#if num_unread}} user-with-count {{/if}} narrow-filter user_{{type}} {{#if faded}} user-fade {{/if}}">
<span class="selectable_sidebar_block">
<div class="selectable_sidebar_block">
<span class="user-status-indicator"></span>
<a href="{{href}}"
data-user-id="{{user_id}}"
data-name="{{name}}"
title="{{name}} {{type_desc}}">{{name}}</a>
</span>
</div>
<span class="count"><span class="value">{{#if num_unread}}{{num_unread}}{{/if}}</span></span>
<span class="arrow"><i class="icon-vector-chevron-down"></i></span>
</li>