From abd7074e1d8db3bef18cf57a9b3a5c45989380c2 Mon Sep 17 00:00:00 2001 From: Xwen <929716663@qq.com> Date: Tue, 2 Jan 2024 21:09:07 +0800 Subject: [PATCH] =?UTF-8?q?perf:=E4=BC=98=E5=8C=96=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=9B=BE=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.Bbs.Vue3/src/views/profile/Index.vue | 5 +++++ Yi.Bbs.Vue3/src/views/profile/UserAvatar.vue | 1 + 2 files changed, 6 insertions(+) diff --git a/Yi.Bbs.Vue3/src/views/profile/Index.vue b/Yi.Bbs.Vue3/src/views/profile/Index.vue index 5669cc29..df041386 100644 --- a/Yi.Bbs.Vue3/src/views/profile/Index.vue +++ b/Yi.Bbs.Vue3/src/views/profile/Index.vue @@ -126,4 +126,9 @@ onMounted(() => { .app-container { padding: 20px; } +.text-center { + display: flex; + justify-content: center; + margin-bottom: 10px; +} diff --git a/Yi.Bbs.Vue3/src/views/profile/UserAvatar.vue b/Yi.Bbs.Vue3/src/views/profile/UserAvatar.vue index 614873a5..ccfd6299 100644 --- a/Yi.Bbs.Vue3/src/views/profile/UserAvatar.vue +++ b/Yi.Bbs.Vue3/src/views/profile/UserAvatar.vue @@ -250,6 +250,7 @@ onMounted(async () => { .user-info-head:hover:after { content: "+"; + text-align: center; position: absolute; left: 0; right: 0;