header

parent 6815acb2
...@@ -40,7 +40,6 @@ const handleBack = () => { ...@@ -40,7 +40,6 @@ const handleBack = () => {
top: 0; top: 0;
.headbox { .headbox {
position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
height: 100%; height: 100%;
...@@ -51,10 +50,9 @@ const handleBack = () => { ...@@ -51,10 +50,9 @@ const handleBack = () => {
} }
.title { .title {
position: absolute; text-align: center;
top: 50%; width: 100%;
left: 50%; transform: translate(-18px);
transform: translate(-50%, -50%);
font-size: 36rpx; font-size: 36rpx;
font-family: PingFang SC; font-family: PingFang SC;
color: #333333; color: #333333;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment