Fixes #3999 - Long role names get broken due to bad overflow
This commit is contained in:
parent
d6236a3afa
commit
513fadc8dc
2 changed files with 42 additions and 34 deletions
|
@ -1,7 +1,6 @@
|
||||||
<div style="padding-left: 18px; padding-top: 10px;">
|
|
||||||
<table class="settings-list settings-list--roles-permissions">
|
<table class="settings-list settings-list--roles-permissions">
|
||||||
<thead>
|
<thead>
|
||||||
<th width=150><%- @T('Role') %>
|
<th><%- @T('Role') %>
|
||||||
<% for key, text of @accessLevels: %>
|
<% for key, text of @accessLevels: %>
|
||||||
<th><%- @T(text) %>
|
<th><%- @T(text) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -10,6 +9,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<%= role.name %>
|
<%= role.name %>
|
||||||
|
|
||||||
<% for key, text of @accessLevels: %>
|
<% for key, text of @accessLevels: %>
|
||||||
<td class="settings-list-control-cell settings-list-radio-cell u-clickable">
|
<td class="settings-list-control-cell settings-list-radio-cell u-clickable">
|
||||||
<label class="inline-label radio-replacement">
|
<label class="inline-label radio-replacement">
|
||||||
|
@ -29,5 +29,3 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -10802,7 +10802,7 @@ output {
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
word-break: break-all;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.empty-cell {
|
td.empty-cell {
|
||||||
|
@ -10958,6 +10958,16 @@ output {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.settings-list--roles-permissions {
|
||||||
|
margin-left: 18px;
|
||||||
|
margin-right: 18px;
|
||||||
|
margin-top: 10px;
|
||||||
|
|
||||||
|
th:first-child {
|
||||||
|
min-width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.select-boxes {
|
.select-boxes {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|
Loading…
Reference in a new issue