aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-15 14:45:10 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-01-15 15:48:42 +0100
commitdb837bf696951e3c866205a2d690bf3c014babeb (patch)
treef45609c0c561a043e6dc3289adbe2dcf5f51c3a6 /apps/files_sharing
parent50ae2ab14c1ae852ff98cee9ae10a4b9218bd1db (diff)
downloadnextcloud-server-db837bf696951e3c866205a2d690bf3c014babeb.tar.gz
nextcloud-server-db837bf696951e3c866205a2d690bf3c014babeb.zip
improvements to public files mobile view
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/css/mobile.css15
1 files changed, 10 insertions, 5 deletions
diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css
index 55d244ff1e0..3578aff17f2 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;
+}
+
}