diff --git a/public/index.css b/public/index.css index 282dc99..f2ec2ba 100644 --- a/public/index.css +++ b/public/index.css @@ -305,21 +305,31 @@ body { z-index: 1000; } +.bg-btn-wrapper .bg-local-switch { + flex-direction: row; + height: 28px; + gap: 0; +} + +.bg-btn-wrapper .bg-local-switch input { + top: 0; +} + /* 换背景按钮(仅图标) */ .change-background-btn { background: transparent; border: none; border-radius: 50%; - width: auto; - height: auto; - padding: 2px; + width: 28px; + height: 28px; + padding: 0; color: var(--text-light); - font-size: 1.6rem; + font-size: 1.2rem; line-height: 1; cursor: pointer; transition: all 0.2s ease; backdrop-filter: none; - display: inline-flex; + display: flex; align-items: center; justify-content: center; } @@ -328,7 +338,6 @@ body { background: rgba(255, 255, 255, 0.2); outline: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); - padding: 2px; } .change-background-btn::after {