Skip to content

Commit b17d892

Browse files
committed
feat: update css
1 parent 921dd39 commit b17d892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blog-view/src/components/index/Header.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
position: absolute;
132132
padding: 0 4px;
133133
top: 40%;
134-
left: 51.5%;
134+
left: 50.5%;
135135
transform: translate(-50%, -50%) scale(2.5);
136136
font-size: 34px;
137137
font-family: sans-serif;
@@ -152,7 +152,7 @@
152152
content: attr(data-word);
153153
position: absolute;
154154
top: 0;
155-
line-height: 36px;
155+
line-height: 50px;
156156
overflow: hidden;
157157
filter: contrast(200%);
158158
}

0 commit comments

Comments
 (0)