UX: better user title on groups index page (mobile)

This commit is contained in:
Arpit Jalan 2015-07-07 18:48:51 +05:30
parent 66bd1053cf
commit 90430eda62
3 changed files with 15 additions and 2 deletions

View file

@ -8,7 +8,7 @@
<a href="{{unbound p.url}}">{{unbound p.title}}</a>
</span>
<span class="category">{{category-link p.category}}</span>
<div class="user-info">
<div class="group-member-info">
{{#if p.user_long_name}}
<span class="name">{{p.user_long_name}}</span>{{#if p.user_title}}<span class="title">, {{p.user_title}}</span>{{/if}}
{{/if}}

View file

@ -494,7 +494,7 @@
font-size: 1.714em;
}
}
.user-info {
.group-member-info {
.name {
display: inline-block;
margin-top: 5px;

View file

@ -491,6 +491,19 @@
font-size: 1.714em;
}
}
.group-member-info {
.name {
display: inline-block;
margin-top: 5px;
color: scale-color($primary, $lightness: 30%);
vertical-align: inherit;
}
.title {
display: inline-block;
margin-top: 5px;
color: scale-color($primary, $lightness: 50%);
}
}
}
.staff-counters {