Skip to content

Commit 57783a5

Browse files
joao-m-santosjoao
authored and
joao
committed
🐛 Change <tex>t tag to <g> to allow better customization
1 parent f164c8b commit 57783a5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/lib/src/components/groups/lume-alluvial-group/components/lume-alluvial-node-label/lume-alluvial-node-label.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
2-
<tspan class="lume-alluvial-group__node-label">
2+
<text class="lume-alluvial-group__node-label">
33
<slot />
4-
</tspan>
4+
</text>
55
</template>
66

77
<style lang="scss" scoped>

packages/lib/src/components/groups/lume-alluvial-group/components/lume-alluvial-node-value/lume-alluvial-node-value.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<template>
2-
<tspan
2+
<text
33
class="lume-alluvial-group__node-value"
44
x="0"
55
dy="1.2em"
66
>
77
<slot />
8-
</tspan>
8+
</text>
99
</template>
1010

1111
<style lang="scss" scoped>

packages/lib/src/components/groups/lume-alluvial-group/lume-alluvial-group.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
:height="block.height"
124124
:width="block.width"
125125
/>
126-
<text
126+
<g
127127
ref="nodeTextRefs"
128128
class="lume-alluvial-group__node-text lume-typography--caption"
129129
:class="{
@@ -154,7 +154,7 @@
154154
}}
155155
</lume-alluvial-node-value>
156156
</slot>
157-
</text>
157+
</g>
158158
</g>
159159
</g>
160160
</g>

0 commit comments

Comments
 (0)