From 9f9466d00107cfe66fafdc47d3e0c16587817def Mon Sep 17 00:00:00 2001 From: Jörn Friedrich Dreyer Date: Wed, 5 Feb 2014 10:57:26 +0100 Subject: improvements to public files mobile view --- apps/files_sharing/css/mobile.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'apps/files_sharing/css') 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 -- cgit v1.2.3