Skip to content

Commit

Permalink
Merge pull request #551 from open-formulieren/feature/3419-tooltip-icon
Browse files Browse the repository at this point in the history
🐛 [#3419] tooltips match design-token colour
  • Loading branch information
sergei-maertens authored Sep 20, 2023
2 parents 95da438 + 89f7533 commit 59ad089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/formio/templates/checkbox.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
>
{{ctx.input.label}}{% if (!ctx.component.validate.required && !ctx.requiredFieldsWithAsterisk) { %} {{ ctx.t('(optional)') }} {% } %}
{% if (ctx.component.tooltip) { %}
<i ref="tooltip" class="{{ctx.iconClass('question-sign')}}" data-tooltip="{{ ctx.tooltip }}"></i>
<i ref="tooltip" class="openforms-tooltip-icon {{ctx.iconClass('question-sign')}}" data-tooltip="{{ ctx.tooltip }}"></i>
{% } %}
</label>
</p>
2 changes: 1 addition & 1 deletion src/formio/templates/field.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{ ctx.t('(optional)') }}
{% } %}
{% if (ctx.component.tooltip) { %}
<i ref="tooltip" class="{{ctx.iconClass('question-sign')}}"data-tooltip="{{ ctx.tooltip }}"></i>
<i ref="tooltip" class="openforms-tooltip-icon {{ctx.iconClass('question-sign')}}"data-tooltip="{{ ctx.tooltip }}"></i>
{% } %}
</span>
</legend>
Expand Down

0 comments on commit 59ad089

Please sign in to comment.