Skip to content

Commit

Permalink
🐛 [#3419] tooltips match design-token colour
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-maykin committed Sep 20, 2023
1 parent 1f47894 commit 89f7533
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 89f7533

Please sign in to comment.