Merge pull request #7055 from owncloud/ellipsize-modified-date

ellipsize long modified dates to make room for showing delete button
This commit is contained in:
Jan-Christoph Borchardt 2014-02-03 15:57:00 -08:00
commit 3692260174
1 changed files with 11 additions and 0 deletions

View File

@ -119,7 +119,9 @@ table th#headerDate, table td.date {
-moz-box-sizing: border-box;
box-sizing: border-box;
position: relative;
/* this can not be just width, both need to be set … table styling */
min-width: 176px;
max-width: 176px;
}
/* Multiselect bar */
@ -174,6 +176,15 @@ table td.filename .nametext, .uploadtext, .modified { float:left; padding:14px 0
}
.modified {
position: relative;
padding-left: 8px;
overflow: hidden;
text-overflow: ellipsis;
width: 90%;
}
/* ellipsize long modified dates to make room for showing delete button */
#fileList tr:hover .modified,
#fileList tr:focus .modified {
width: 75%;
}
/* TODO fix usability bug (accidental file/folder selection) */