diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-04-17 16:58:57 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-04-17 17:11:28 +0200 |
commit | d82a31d121c452529d3f1f95ab87096b215d1275 (patch) | |
tree | 018d766ccb21d36e57afb1381d3f7184e7d346d0 /apps/files_sharing/css/public.css | |
parent | 707658c00a788949ee94912001edc8d730345d7a (diff) | |
download | nextcloud-server-d82a31d121c452529d3f1f95ab87096b215d1275.tar.gz nextcloud-server-d82a31d121c452529d3f1f95ab87096b215d1275.zip |
keep long file names in one line to not overflow download button on mobile
Diffstat (limited to 'apps/files_sharing/css/public.css')
-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 062444f496f..d36683d42cd 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)"; |