From b44edb1e3c18ae9ee13a42ef8de8d7ebf2162293 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 25 Jul 2022 16:52:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 2 +- templates/layout/head.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index b3f69a0..ac91d4d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -193,7 +193,7 @@ </tr> <tr> <td>视频描述</td> - <td>{{ config.video.desc }}</td> + <td style="white-space: pre-wrap;min-width: 375px;max-width: 100vw;width: 750px;">{{ config.video.desc }}</td> </tr> <tr> <td>视频分区</td> diff --git a/templates/layout/head.html b/templates/layout/head.html index 8a92889..ad52826 100644 --- a/templates/layout/head.html +++ b/templates/layout/head.html @@ -1,4 +1,5 @@ <meta charset="UTF-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-y/modern-normalize/1.1.0/modern-normalize.css" type="text/css" rel="stylesheet" /> <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-y/vue/3.2.31/vue.global.js" type="application/javascript"></script> <script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/axios/0.26.0/axios.js" type="application/javascript"></script>