fixes #539
This commit is contained in:
parent
7a8e9b5de1
commit
fddc415c86
|
@ -18,8 +18,8 @@ module.exports = function(file, state, emit) {
|
||||||
const remaining = timeLeft(ttl) || state.translate('linkExpiredAlt');
|
const remaining = timeLeft(ttl) || state.translate('linkExpiredAlt');
|
||||||
const row = html`
|
const row = html`
|
||||||
<tr id="${file.id}">
|
<tr id="${file.id}">
|
||||||
<td>${file.name}</td>
|
<td title="${file.name}">${file.name}</td>
|
||||||
<td>
|
<td class="center-col">
|
||||||
<img onclick=${copyClick} src="${assets.get(
|
<img onclick=${copyClick} src="${assets.get(
|
||||||
'copy-16.svg'
|
'copy-16.svg'
|
||||||
)}" class="icon-copy" title="${state.translate('copyUrlHover')}">
|
)}" class="icon-copy" title="${state.translate('copyUrlHover')}">
|
||||||
|
@ -28,7 +28,7 @@ module.exports = function(file, state, emit) {
|
||||||
)}</span>
|
)}</span>
|
||||||
</td>
|
</td>
|
||||||
<td>${remaining}</td>
|
<td>${remaining}</td>
|
||||||
<td>
|
<td class="center-col">
|
||||||
<img onclick=${showPopup} src="${assets.get(
|
<img onclick=${showPopup} src="${assets.get(
|
||||||
'close-16.svg'
|
'close-16.svg'
|
||||||
)}" class="icon-delete" title="${state.translate('deleteButtonHover')}">
|
)}" class="icon-delete" title="${state.translate('deleteButtonHover')}">
|
||||||
|
|
|
@ -9,9 +9,13 @@ module.exports = function(state, emit) {
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th id="uploaded-file">${state.translate('uploadedFile')}</th>
|
<th id="uploaded-file">${state.translate('uploadedFile')}</th>
|
||||||
<th id="copy-file-list">${state.translate('copyFileList')}</th>
|
<th id="copy-file-list" class="center-col">${state.translate(
|
||||||
|
'copyFileList'
|
||||||
|
)}</th>
|
||||||
<th id="expiry-file-list">${state.translate('expiryFileList')}</th>
|
<th id="expiry-file-list">${state.translate('expiryFileList')}</th>
|
||||||
<th id="delete-file-list">${state.translate('deleteFileList')}</th>
|
<th id="delete-file-list" class="center-col">${state.translate(
|
||||||
|
'deleteFileList'
|
||||||
|
)}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
|
@ -296,6 +296,10 @@ td {
|
||||||
padding: 17px 19px 0;
|
padding: 17px 19px 0;
|
||||||
line-height: 23px;
|
line-height: 23px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
max-width: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
@ -329,6 +333,10 @@ tbody {
|
||||||
width: 12%;
|
width: 12%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.center-col {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.icon-delete,
|
.icon-delete,
|
||||||
.icon-copy,
|
.icon-copy,
|
||||||
.icon-check {
|
.icon-check {
|
||||||
|
|
Loading…
Reference in New Issue