diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-04-17 16:58:57 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-06 15:38:16 +0200 |
commit | d8a4e7a3244392410752bd0c84a88869b9c2c561 (patch) | |
tree | 17c8a7921e41a9755d3fb4d4caf9f5b9a1a1a150 | |
parent | 13fb2afcbf14db5d452492e61f6faa77cfde11da (diff) | |
download | nextcloud-server-d8a4e7a3244392410752bd0c84a88869b9c2c561.tar.gz nextcloud-server-d8a4e7a3244392410752bd0c84a88869b9c2c561.zip |
keep long file names in one line to not overflow download button on mobile
-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 f43f9c16041..1c944a8137b 100644 --- a/apps/files_sharing/css/public.css +++ b/apps/files_sharing/css/public.css @@ -81,13 +81,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)"; |