0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Added support for tooltips on card type indicators

refs https://github.com/TryGhost/Team/issues/927

- allows for more information about a card to be shown when hovering over the indicator to the left of the card's section in the editor
This commit is contained in:
Kevin Ansfield 2021-07-26 16:00:35 +01:00
parent 9cfb024a5f
commit 209f4361f4

View file

@ -1,6 +1,6 @@
{{#if this.icon}} {{#if this.icon}}
<div class="sticky" style="top: {{this.iconTop}}px; margin-bottom: {{this.iconTop}}px"> <div class="sticky" style="top: {{this.iconTop}}px; margin-bottom: {{this.iconTop}}px">
{{svg-jar this.icon class=this.iconClass}} <span data-tooltip={{@iconTooltip}}>{{svg-jar this.icon class=this.iconClass}}</span>
</div> </div>
<div style="margin-top: -{{this.iconTop}}px"></div> <div style="margin-top: -{{this.iconTop}}px"></div>
{{/if}} {{/if}}