From 9884bb879d3b1a4d45114f2c648d76d8fecaf5c2 Mon Sep 17 00:00:00 2001 From: Diogenes Analytics Date: Tue, 12 Mar 2024 13:55:41 -0400 Subject: [PATCH] Updating html download media formatting (#16) --- scripts/form.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/scripts/form.js b/scripts/form.js index 8800abb..5eb9e6a 100644 --- a/scripts/form.js +++ b/scripts/form.js @@ -92,14 +92,9 @@ function generateHtmlContent(formData) { label { font-weight: bold; } - img { - max-width: 100%; /* Adjust this value as needed */ - } - video { - max-width: 100%; /* Adjust this value as needed */ - } - audio { - max-width: 100%; /* Adjust this value as needed */ + img, video, audio { + min-width: 100%; + max-width: 100%; }