From f21d6942002d4b1529712cdafa4aae6f54f2a319 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Tue, 9 Aug 2022 18:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E5=B9=BF=E5=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/capacitySquare/components/algorithm.vue | 3 ++- front/src/views/capacitySquare/components/layer.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/front/src/views/capacitySquare/components/algorithm.vue b/front/src/views/capacitySquare/components/algorithm.vue index 57e4004d..40afa3c8 100644 --- a/front/src/views/capacitySquare/components/algorithm.vue +++ b/front/src/views/capacitySquare/components/algorithm.vue @@ -133,7 +133,8 @@ .algorithm-card-title { position: absolute; height: 0.6rem; - width: 100%; + margin-left: 0.08rem; + width: 97%; color: #ffffff; font-size: 0.22rem; font-family: alibaba; diff --git a/front/src/views/capacitySquare/components/layer.vue b/front/src/views/capacitySquare/components/layer.vue index 2b9e03b5..96fab8c8 100644 --- a/front/src/views/capacitySquare/components/layer.vue +++ b/front/src/views/capacitySquare/components/layer.vue @@ -133,7 +133,8 @@ .algorithm-card-title { position: absolute; height: 0.6rem; - width: 100%; + margin-left: 0.08rem; + width: 97%; color: #ffffff; font-size: 0.22rem; font-family: alibaba;