Merge pull request #8255 from owncloud/fix-public-download-button

keep long file names in one line to not overflow download button on mobile
This commit is contained in:
Raghu Nayyar 2014-04-22 15:44:29 +05:30
commit d56072cf2e
1 changed files with 13 additions and 0 deletions

View File

@ -70,13 +70,26 @@ thead {
margin: 0;
}
.directDownload,
.directLink {
margin-bottom: 20px;
}
/* keep long file names in one line to not overflow download button on mobile */
.directDownload #download {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 90%;
display: inline-block;
margin-left: auto;
margin-right: auto;
}
.directDownload .button img {
vertical-align: text-bottom;
}
.directLink label {
font-weight: normal;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";