]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fit shared videos to viewer, just like images. Issue #1648
authorMatthew Caron <matt@mattcaron.net>
Fri, 14 Feb 2014 21:09:19 +0000 (16:09 -0500)
committerMatthew Caron <matt@mattcaron.net>
Fri, 14 Feb 2014 21:09:51 +0000 (16:09 -0500)
apps/files_sharing/css/public.css

index 21f0c82b829adc7ea56e9ce64658826d19eead84..2d569fd77da5424ce76fa23d1cf5502535dfd42d 100644 (file)
@@ -71,11 +71,18 @@ p.info a {
        max-width:100%;
 }
 
+#imgframe video {
+        max-height:100%;
+        max-width:100%;
+}
+
 /* some margin for the file type icon */
 #imgframe .publicpreview {
        margin-top: 10%;
 }
 
+
+
 thead {
        padding-left: 0 !important; /* fixes multiselect bar offset on shared page */
 }