mirror of
https://github.com/Canner/WrenAI.git
synced 2026-09-24 23:29:49 +08:00
fix(wren-ui): Fix svg embed definitions styles that affected user operation (#205)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user