微调细节

This commit is contained in:
ray_wuhao 2023-04-17 14:16:10 +08:00
parent 5f3dd4332d
commit 9973d3f028

View File

@ -4,7 +4,7 @@ $globalSearchWidth: 650px;
position: fixed; position: fixed;
width: $globalSearchWidth; width: $globalSearchWidth;
left: 50%; left: 50%;
margin-left: -$globalSearchWidth / 2; margin-left: calc(0px - $globalSearchWidth / 2);
top: 60px; top: 60px;
& .global-seach__wrapper { & .global-seach__wrapper {