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;