fix(wren-ui): Fix svg embed definitions styles that affected user operation (#205)

This commit is contained in:
Shimin
2024-05-07 14:10:44 +08:00
committed by GitHub
parent b837119873
commit 7b4a620f58
+11 -1
View File
@@ -1,6 +1,16 @@
export default function Marker() {
// This is only used to embed definitions which can reused inside an svg image.
return (
<svg style={{ position: 'absolute', top: 0, left: 0 }}>
<svg
style={{
position: 'absolute',
top: 0,
left: 0,
width: 0,
height: 0,
zIndex: -1,
}}
>
<defs>
<marker
id="many_right"