From 76f527b2d6d5cccefa33a05584c9a63e37048429 Mon Sep 17 00:00:00 2001 From: Lruler <1204312199@qq.com> Date: Mon, 9 Aug 2021 00:55:59 +0800 Subject: [PATCH] Modify the size of the video window in the English interface of the mobile terminal --- assets/scss/index.scss | 7 +------ layouts/index.html | 2 ++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/assets/scss/index.scss b/assets/scss/index.scss index 97f7435d2..6090ad32a 100644 --- a/assets/scss/index.scss +++ b/assets/scss/index.scss @@ -1201,8 +1201,6 @@ footer { max-width: 1080px; top:50%; left:50%; - // margin-top: -304px; - // margin-left: -540px; transform: translate(-50%,-50%); padding: 0; border-radius: 0; @@ -1223,11 +1221,8 @@ footer { } @media only screen and (max-width: $mobile-max-width) { - position: absolute; width: 80%; - height: auto; - top: 50%; - left:50% + height: 24.5%; } } diff --git a/layouts/index.html b/layouts/index.html index b84fa7105..64d459711 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -254,6 +254,8 @@ if (language == 'zh') { start2.css('display', 'none') start1.attr('src', "https://kubesphere-community.pek3b.qingstor.com/videos/kubesphere-demo-cn.mp4") + video.css('height', 'auto') + } else if (language == 'en') { start1.css('display', 'none')