Browse Source

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

keep long file names in one line to not overflow download button on mobile
tags/v7.0.0alpha2
Raghu Nayyar 10 years ago
parent
commit
d56072cf2e
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      apps/files_sharing/css/public.css

+ 13
- 0
apps/files_sharing/css/public.css 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)";

Loading…
Cancel
Save