Skip to content

Commit 81caf12

Browse files
Fix invalid postion of before content in home page in Firefox Linux (#8980)
Co-authored-by: John Niang <[email protected]>
1 parent 8b9337b commit 81caf12

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
@@ -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)