Skip to content

Commit

Permalink
refactor(tooltip): use prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Feb 21, 2020
1 parent 03c0e17 commit b7ab745
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
class="{{@root.prefix}}--tooltip__trigger {{@root.prefix}}--tooltip--a11y {{@root.prefix}}--tooltip__trigger--definition {{@root.prefix}}--tooltip--bottom {{@root.prefix}}--tooltip--align-start">
Definition Tooltip (start aligned)
</button>
<div class="bx--assistive-text" id="example-start" role="tooltip">Brief description of the dotted, underlined word
<div class="{{@root.prefix}}--assistive-text" id="example-start" role="tooltip">Brief description of the dotted,
underlined word
above.</div>
</div>
<br>
Expand All @@ -19,7 +20,8 @@
class="{{@root.prefix}}--tooltip__trigger {{@root.prefix}}--tooltip--a11y {{@root.prefix}}--tooltip__trigger--definition {{@root.prefix}}--tooltip--bottom {{@root.prefix}}--tooltip--align-center">
Definition Tooltip (center aligned)
</button>
<div class="bx--assistive-text" id="example-center" role="tooltip">Brief description of the dotted, underlined word
<div class="{{@root.prefix}}--assistive-text" id="example-center" role="tooltip">Brief description of the dotted,
underlined word
above.</div>
</div>
<br>
Expand All @@ -28,6 +30,7 @@
class="{{@root.prefix}}--tooltip__trigger {{@root.prefix}}--tooltip--a11y {{@root.prefix}}--tooltip__trigger--definition {{@root.prefix}}--tooltip--bottom {{@root.prefix}}--tooltip--align-end">
Definition Tooltip (end aligned)
</button>
<div class="bx--assistive-text" id="example-end" role="tooltip">Brief description of the dotted, underlined word
<div class="{{@root.prefix}}--assistive-text" id="example-end" role="tooltip">Brief description of the dotted,
underlined word
above.</div>
</div>

0 comments on commit b7ab745

Please sign in to comment.