Skip to content

Commit 063a071

Browse files
authored
Fix invalid postion of before content in home page in Firefox Linux (#7429)
1 parent c54a7de commit 063a071

File tree

1 file changed

+3
-1
lines changed
  • frontend/src/components/card-with-header

1 file changed

+3
-1
lines changed

frontend/src/components/card-with-header/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ defineProps({
2929
font-size: 16px;
3030
font-weight: 500;
3131
margin-left: 18px;
32+
display: flex;
3233
&::before {
3334
position: absolute;
34-
top: 4px;
35+
top: 50%;
36+
transform: translateY(-50%);
3537
left: -13px;
3638
width: 4px;
3739
height: 14px;

0 commit comments

Comments
 (0)