Added a max-width to the email column in the manage users table (#611)

This commit is contained in:
farhatahmad 2019-07-08 09:12:46 -04:00 committed by Jesus Federico
parent f6bd959c4c
commit 315bb1af1c
2 changed files with 6 additions and 2 deletions

View File

@ -18,6 +18,10 @@
.user-role {
color: white !important;
}
.user-email {
max-width: 250px;
}
}
#clear-search {

View File

@ -21,7 +21,7 @@
<div class="row">
<div class="col-12">
<div class="table-responsive">
<table class="table table-hover table-outline table-vcenter text-nowrap card-table">
<table class="table table-hover table-outline table-vcenter card-table">
<thead>
<tr>
<th data-header="name" data-order="<%= @order_column == "name" ? @order_direction : "none" %>">
@ -69,7 +69,7 @@
<div><%= user.name %></div>
<div class="small text-muted"><%= [t("administrator.users.table.created"), ": ", user.created_at].join %></div>
</td>
<td><%= user.email && user.email != "" ? user.email : user.username%></td>
<td class="user-email"><%= user.email && user.email != "" ? user.email : user.username%></td>
<td><%= user.provider %></td>
<td class="text-center">
<% roles = user.roles().pluck(:name) %>