From f28acba78adb63229c738cc64b96f835ddf64694 Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Thu, 4 Jan 2024 23:54:06 +0500 Subject: [PATCH] Update --- public/assets/css/style.css | 8 +++----- public/assets/js/mastodon.js | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/public/assets/css/style.css b/public/assets/css/style.css index d2fd372..4b6d070 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -61,11 +61,9 @@ html, body { flex-flow: column; } -#log iframe { - width: inherit; - min-height: 100vh; - height: max-content; - border:none; +.youtube-video { + aspect-ratio: 16 / 9; + width: 100%; } #body { diff --git a/public/assets/js/mastodon.js b/public/assets/js/mastodon.js index d83a245..b01c5d1 100644 --- a/public/assets/js/mastodon.js +++ b/public/assets/js/mastodon.js @@ -37,7 +37,7 @@ async function fetchData(log, tpl) { for (let i = 0; i < spl_arr.length; i++) { if (spl_arr[i].indexOf(youtube_link_start) === 0) { let id = spl_arr[i].replace(youtube_link_start, ''); - let text_frame = ``; + let text_frame = ``; youtube_frame_arr.push(text_frame); } }