mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-27 09:29:22 -04:00
Don’t wrap users onto multiple lines
It looks cleaner to truncate instead. You can always see the full email address by clicking into ‘edit’.
This commit is contained in:
@@ -11,6 +11,19 @@ $item-top-padding: $gutter-half;
|
||||
border-top: 1px solid $border-colour;
|
||||
position: relative;
|
||||
|
||||
h3 {
|
||||
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
color: $secondary-text-colour; // So the ellipsis is grey
|
||||
|
||||
.heading-small {
|
||||
color: $black;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-bottom: 1px solid $border-colour;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<div class="user-list">
|
||||
{% for user in users %}
|
||||
<div class="user-list-item">
|
||||
<h3>
|
||||
<h3 title="{{ user.email_address }}">
|
||||
{%- if user.name -%}
|
||||
<span class="heading-small">{{ user.name }}</span> 
|
||||
{%- endif -%}
|
||||
|
||||
Reference in New Issue
Block a user