fixed delete dialog broken in last commit 🙄

This commit is contained in:
Danny Coates 2017-09-06 14:27:09 -07:00
parent fddc415c86
commit 3d8b38ffe4
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
2 changed files with 8 additions and 5 deletions

View file

@ -18,7 +18,7 @@ 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 title="${file.name}">${file.name}</td> <td class="overflow-col" title="${file.name}">${file.name}</td>
<td class="center-col"> <td class="center-col">
<img onclick=${copyClick} src="${assets.get( <img onclick=${copyClick} src="${assets.get(
'copy-16.svg' 'copy-16.svg'

View file

@ -296,10 +296,6 @@ 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 {
@ -333,6 +329,13 @@ tbody {
width: 12%; width: 12%;
} }
.overflow-col {
text-overflow: ellipsis;
max-width: 0;
overflow: hidden;
white-space: nowrap;
}
.center-col { .center-col {
text-align: center; text-align: center;
} }