This commit is contained in:
2025-07-14 16:24:22 +08:00
parent 3688c0efd4
commit 5fbdbda62d

View File

@@ -3,13 +3,11 @@
width: 100%;
}
.header-PC #header {
/* margin: 0 auto; */
margin: 0 auto;
height: 3.75rem;
max-width: var(--max-width); /* 与 body 同步 */
width: 1920px;
position: fixed;
top: 0;
left: 50%; /* 先定位到视口中间 */
transform: translateX(-50%); /* 再向左回退自身宽度的一半 */
display: flex;
flex-direction: row;
align-items: center;