Skip to content

Commit db5c4bd

Browse files
JohnNianghalo-dev-bot
authored andcommitted
Fix invalid postion of before content in home page in Firefox Linux
1 parent 8b9337b commit db5c4bd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • frontend/src/components/card-with-header

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

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

0 commit comments

Comments
 (0)