From 3e255c1288b02be260fd31c7399da7f72a973260 Mon Sep 17 00:00:00 2001 From: smallclover <18363998103@163.com> Date: Sat, 4 Oct 2025 17:13:00 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=8B=E6=9C=BA=E7=BD=91?= =?UTF-8?q?=E9=A1=B5iframe=E7=9A=84=E8=A7=86=E9=A2=91=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E8=B6=85=E5=87=BA=E5=AE=B9=E5=99=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend_nuxt/assets/global.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend_nuxt/assets/global.css b/frontend_nuxt/assets/global.css index f46edefbf..fb12189e0 100644 --- a/frontend_nuxt/assets/global.css +++ b/frontend_nuxt/assets/global.css @@ -341,6 +341,16 @@ body { .info-content-text pre { line-height: 1.5; } + + /*处理iframe视频标签*/ + .info-content-text iframe { + width: 100%; + max-width: 100%; + height: auto; + aspect-ratio: 16 / 9; /* 保持 16:9 比例 */ + border: none; + display: block; + } .d2h-file-name { font-size: 14px !important;