Skip to content

Commit 4eca6da

Browse files
authored
Merge pull request #49 from dapi-labs/fix
fix face offset when parent has text-align:center
2 parents 63a99be + 7f4cc08 commit 4eca6da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/face/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export default function face(props: { color: string }): SVGElement {
99
style={{
1010
width: "100%",
1111
height: "100%",
12+
left: 0,
13+
top: 0,
1214
position: "absolute"
1315
}}
1416
width="200"

0 commit comments

Comments
 (0)