Skip to content

Commit

Permalink
fix(wren-ui): Fix svg embed definitions styles that affected user ope…
Browse files Browse the repository at this point in the history
…ration (#205)
  • Loading branch information
andreashimin authored May 7, 2024
1 parent b837119 commit 7b4a620
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion wren-ui/src/components/diagram/Marker.tsx
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 7b4a620

Please sign in to comment.