This commit is contained in:
@@ -2,7 +2,14 @@
|
||||
/* 全局文字最小尺寸兜底 */
|
||||
.header-PC {
|
||||
width: 100%;
|
||||
font-size: 0; /* 清除行内块间隙 */
|
||||
|
||||
height: 60px;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
.header-PC * {
|
||||
min-font-size: 16px !important; /* 强制最小16px */
|
||||
@@ -13,8 +20,8 @@
|
||||
margin: 0 auto;
|
||||
height: 60px; /* 0.6rem*100=60px */
|
||||
max-width: var(--max-width);
|
||||
position: fixed;
|
||||
top: 0;
|
||||
/* position: fixed;
|
||||
top: 0; */
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user