Fix #602 domain table with long records

This commit is contained in:
Khanh Ngo 2019-12-13 21:22:58 +07:00
parent 65d4acc6c5
commit d90a20f8da
No known key found for this signature in database
GPG Key ID: D5FAA6A16150E49E
3 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,6 @@
.length-break {
word-break: break-all !important;
width: 70% !important;
}
table td {

View File

@ -138,7 +138,7 @@
"columnDefs": [
{
type: 'natural',
targets: [0, 5]
targets: [0, 4]
},
{
// hidden column so that we can add new records on top
@ -148,7 +148,7 @@
},
{
className: "length-break",
targets: [ 5 ]
targets: [ 4, 5 ]
}
],
"orderFixed": [[8, 'asc']]

View File

@ -62,10 +62,10 @@
<td>
{{ record.ttl }}
</td>
<td class="length-break">
<td>
{{ record.data }}
</td>
<td class="length-break">
<td>
{{ record.comment }}
</td>
<td width="6%">
@ -123,7 +123,7 @@
"columnDefs": [
{
type: 'natural',
targets: [0, 5]
targets: [0, 4]
},
{
// hidden column so that we can add new records on top
@ -133,7 +133,7 @@
},
{
className: "length-break",
targets: [ 5 ]
targets: [ 4, 5 ]
}
],
"orderFixed": [[8, 'asc']]