From e1662be76bcbb67210e0b657490b181b3396b57c Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Fri, 18 Jul 2025 11:35:25 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E8=B0=83=E6=95=B4=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/CalculatorLayout.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/layouts/CalculatorLayout.vue b/src/layouts/CalculatorLayout.vue index 3d59d38..aa013b9 100644 --- a/src/layouts/CalculatorLayout.vue +++ b/src/layouts/CalculatorLayout.vue @@ -484,6 +484,11 @@ transition: all 0.3s ease; border-radius: 24px; width: 100%; + + /* 文本居中 */ + display: flex !important; + justify-content: center !important; + align-items: center !important; } .language-pill-large:hover { @@ -491,6 +496,15 @@ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } +/* chip内容居中对齐 */ +.language-pill-large .v-chip__content { + display: flex !important; + justify-content: center !important; + align-items: center !important; + width: 100% !important; + font-weight: 500; +} + /* 响应式药丸样式 */ @media (max-width: 599px) { .language-pill-container {