Skip to content
Snippets Groups Projects
Commit 315bb1af authored by farhatahmad's avatar farhatahmad Committed by Jesus Federico
Browse files

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

parent f6bd959c
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,10 @@
.user-role {
color: white !important;
}
.user-email {
max-width: 250px;
}
}
#clear-search {
......
......@@ -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) %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment