diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-04-17 18:58:57 +0400 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-06 17:35:12 +0400 |
commit | edced60ed44ced3c387765b375d0de637710b6d5 (patch) | |
tree | b7ce4d8ae87fc9bf26dcf65629dcd90b9e0a4e58 /apps/files_sharing | |
parent | 45d165405f70e40f9f0734a81bbd3f949171d497 (diff) |
keep long file names in one line to not overflow download button on mobile
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/css/public.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css index 3f77379869e..289b0178f24 100644 --- a/apps/files_sharing/css/public.css +++ b/apps/files_sharing/css/public.css @@ -91,13 +91,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)"; |