From 40e66f9d9c6c0b09f859bc421b51fb58ef7712fb Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Wed, 21 Jan 2026 14:09:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=A1=86=E9=A1=B5=E9=9D=A2=E5=8A=A0=E8=BD=BD=E5=90=8E=E8=A7=86?= =?UTF-8?q?=E8=A7=89=E4=B8=AD=E5=BF=83=E5=81=8F=E7=A7=BB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 input.form-control 的 display: flex(input 元素不支持 flex 布局) - 显式设置 input 和 icon 容器的 padding 值确保一致 - 通过 line-height 和 padding 精确控制垂直对齐 --- style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index b772df8..6ca5e81 100644 --- a/style.css +++ b/style.css @@ -1914,13 +1914,16 @@ body.leftbar-can-headroom.headroom---unpinned #navbar-main { display: flex; align-items: center; justify-content: center; + padding-top: 0.625rem; + padding-bottom: 0.625rem; transition: all var(--animation-slow) var(--ease-emphasized); } #navbar_search_input_container input.form-control { - display: flex; - align-items: center; width: 200px; + padding-top: 0.625rem; + padding-bottom: 0.625rem; + line-height: 1.5; transition: all 0.5s cubic-bezier(0.4, 0, 0, 1); }