keep long file names in one line to not overflow download button on mobile

This commit is contained in:
Jan-Christoph Borchardt 2014-04-17 16:58:57 +02:00
parent 707658c00a
commit d82a31d121
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)";