diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-01-16 15:56:18 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-01-16 15:56:18 +0100 |
commit | d463edaf0943b82b2f3faeb0f134f9b88d28c32c (patch) | |
tree | 48a24de04ad462e75da1e6dec798f0f34bbc56f1 /apps/files_sharing | |
parent | 5cdab5fff3bcdbeb9107960f97c9006401a9168a (diff) | |
download | nextcloud-server-d463edaf0943b82b2f3faeb0f134f9b88d28c32c.tar.gz nextcloud-server-d463edaf0943b82b2f3faeb0f134f9b88d28c32c.zip |
on mobile, show single shared image at full width without margin
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/css/mobile.css | 7 | ||||
-rw-r--r-- | apps/files_sharing/css/public.css | 8 |
2 files changed, 12 insertions, 3 deletions
diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css index 3578aff17f2..2118cd31e4b 100644 --- a/apps/files_sharing/css/mobile.css +++ b/apps/files_sharing/css/mobile.css @@ -19,5 +19,12 @@ table tr:focus td.filename .nametext { max-width: 60% !important; } +/* on mobile, show single shared image at full width without margin */ +#imgframe { + width: 100%; + padding: 0; + margin-bottom: 35px; +} + } diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css index 75c37f6a1c3..d593d353dd7 100644 --- a/apps/files_sharing/css/public.css +++ b/apps/files_sharing/css/public.css @@ -60,9 +60,11 @@ p.info a { } #imgframe { - width: 100%; - padding: 0; - margin-bottom: 35px; + height:75%; + padding-bottom:2em; + padding-top:2em; + width:80%; + margin:0 auto; } #imgframe img { |