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 { .user-role {
color: white !important; color: white !important;
} }
.user-email {
max-width: 250px;
}
} }
#clear-search { #clear-search {

View File

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