diff options
author | Raghu Nayyar <me@iraghu.com> | 2014-04-22 15:44:29 +0530 |
---|---|---|
committer | Raghu Nayyar <me@iraghu.com> | 2014-04-22 15:44:29 +0530 |
commit | d56072cf2ed07069fe8060af47d8f752590d1f8a (patch) | |
tree | ebc592a9eb9aa5e5c2bf68e639d5249d6f2dbcb4 | |
parent | f353e6f6697d046f2153fb2db10ecdbce911d3a1 (diff) | |
parent | d82a31d121c452529d3f1f95ab87096b215d1275 (diff) | |
download | nextcloud-server-d56072cf2ed07069fe8060af47d8f752590d1f8a.tar.gz nextcloud-server-d56072cf2ed07069fe8060af47d8f752590d1f8a.zip |
Merge pull request #8255 from owncloud/fix-public-download-button
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 0d38668967d..efd8d4950d8 100644 --- a/apps/files_sharing/css/public.css +++ b/apps/files_sharing/css/public.css @@ -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)"; |