Skip to content

Commit 2e0b730

Browse files
committed
fixed tooltip with accessory after removing the div
1 parent 886c484 commit 2e0b730

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1+
<s-tooltip id="info-tooltip">This is info tooltip</s-tooltip>
12
<s-text-field label="Discount code">
2-
<s-icon slot="accessory" interestFor="info-tooltip" type="info"></s-icon>
3-
<s-tooltip id="info-tooltip">This is info tooltip</s-tooltip>
3+
<s-icon slot="accessory" interestFor="info-tooltip" type="info" />
44
</s-text-field>
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<s-text-field label="Discount code">
2-
<s-icon slot="accessory" interestFor="info-tooltip" type="info" />
1+
<>
32
<s-tooltip id="info-tooltip">This is info tooltip</s-tooltip>
4-
</s-text-field>
3+
<s-text-field label="Discount code">
4+
<s-icon slot="accessory" interestFor="info-tooltip" type="info" />
5+
</s-text-field>
6+
</>

0 commit comments

Comments
 (0)