diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss index 51c2bc9f4c..5edc3f7eb9 100644 --- a/apps/files_sharing/css/public.scss +++ b/apps/files_sharing/css/public.scss @@ -39,15 +39,10 @@ } -#imgframe img, -#imgframe video { +#imgframe img { max-height: 100% !important; max-width: 100% !important; } -#imgframe video { - width: 854px; - height: 480px; -} #imgframe .text-preview { display: inline-block; diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 9d28c178dd..3c2bbe5fb5 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -91,13 +91,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); - -
- -
- +