Skip to content

Commit

Permalink
Complex Content Tooltip (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
aidendk committed Aug 10, 2022
1 parent f1496c3 commit 72eb8da
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const metadata: Meta<TooltipArgs> = {
}
},
render: createUserSelectedThemeStory(html<TooltipArgs>`
<style>
<style class="code-hide">
#anchor {
border: 1px solid var(${borderColor.cssCustomProperty});
font: var(${bodyFont.cssCustomProperty});
Expand All @@ -48,7 +48,7 @@ const metadata: Meta<TooltipArgs> = {
height: 35px;
}
</style>
<div id="anchor" aria-describedby="aria-anchor">
<div id="anchor" aria-describedby="text-tooltip">
Hover here to see tooltip
</div>
<nimble-tooltip
Expand Down Expand Up @@ -129,7 +129,7 @@ export const complexContentTooltip: StoryObj<TooltipArgs> = {
margin-block: 0em;
}
</style>
<div id="complex-anchor" aria-describedby="aria-anchor">
<div id="complex-anchor" aria-describedby="complex-tooltip">
Hover here to see complex content tooltip
</div>
<nimble-tooltip
Expand Down

0 comments on commit 72eb8da

Please sign in to comment.