diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-05 10:57:26 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-05 10:57:26 +0100 |
commit | 9f9466d00107cfe66fafdc47d3e0c16587817def (patch) | |
tree | aa400a7ff4849956135ea186cb59a7a134abcccc /apps/files_sharing/css | |
parent | 249df3864b7c4a3b675e7c6238846af8126a3354 (diff) | |
download | nextcloud-server-9f9466d00107cfe66fafdc47d3e0c16587817def.tar.gz nextcloud-server-9f9466d00107cfe66fafdc47d3e0c16587817def.zip |
improvements to public files mobile view
Diffstat (limited to 'apps/files_sharing/css')
-rw-r--r-- | apps/files_sharing/css/mobile.css | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css index e29760b794b..35b90eba148 100644 --- a/apps/files_sharing/css/mobile.css +++ b/apps/files_sharing/css/mobile.css @@ -1,10 +1,5 @@ @media only screen and (max-width: 600px) { -/* make header and controls bar scroll up for more view of content on small screens */ -#header, -#controls { - position: absolute; -} /* hide size and date columns */ table th#headerSize, @@ -14,5 +9,15 @@ table td.date { display: none; } +/* restrict length of displayed filename to prevent overflow */ +table td.filename .nametext { + max-width: 80% !important; +} +/* and to make room for download button on hover */ +table tr:hover td.filename .nametext, +table tr:focus td.filename .nametext { + max-width: 60% !important; +} + }
\ No newline at end of file |