Wrapped text in admin user and bot tables.

Fixes: #2569.
This commit is contained in:
JefftheBest1 2016-12-13 21:17:08 +11:00 committed by Tim Abbott
parent a90532e074
commit 0e6078fade
3 changed files with 20 additions and 4 deletions

View File

@ -27,6 +27,22 @@ label {
margin: 0px;
}
.wrapped-table {
table-layout: fixed;
word-break: break-all;
word-wrap: break-word;
white-space: -moz-pre-wrap !important;
white-space: -webkit-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
white-space: pre-wrap;
white-space: normal;
}
.wrapped-cell {
width: 20%;
}
.table tbody {
border-bottom: 1px solid #ddd;
}

View File

@ -1,9 +1,9 @@
<div id="admin-user-list" class="settings-section">
<div class="settings-section-title"><i class="icon-vector-github settings-section-icon"></i>
{{t "Bots" }}</div>
<table class="table table-condensed table-striped">
<table class="table table-condensed table-striped wrapped-table">
<tbody id="admin_bots_table" class="admin_bot_table">
<th>{{t "Name" }}</th>
<th class="wrapped-cell">{{t "Name" }}</th>
<th>{{t "Email" }}</th>
<th>{{t "Owner" }}</th>
<th>{{t "Actions" }}</th>

View File

@ -1,9 +1,9 @@
<div id="admin-user-list" class="settings-section">
<div class="settings-section-title"><i class="icon-vector-user settings-section-icon"></i>
{{t "Users" }}</div>
<table class="table table-condensed table-striped">
<table class="table table-condensed table-striped wrapped-table">
<tbody id="admin_users_table" class="admin_user_table">
<th>{{t "Name" }}</th>
<th class="wrapped-cell">{{t "Name" }}</th>
<th>{{t "Email" }}</th>
<th>{{t "Actions" }}</th>
</tbody>