Skip to content

Commit

Permalink
don't underline skip icon in tour widget
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Jun 27, 2023
1 parent 23b11af commit 1ef3b8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions plugins/Tour/stylesheets/engagement.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@
.tourSuperUserNote {
color: @color-silver;
}

.skip-challenge {
text-decoration: none;
}
}
2 changes: 1 addition & 1 deletion plugins/Tour/templates/engagement.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{%- if challenge.isCompleted or challenge.isSkipped %}
<span class="icon-ok" title="{{ 'Tour_ChallengeCompleted'|translate|e('html_attr') }}"></span>
{% else %}
<a href="javascript:void 0;" onclick="tourEngagement.skipChallenge('{{ challenge.id|e('js') }}')" title="{{ 'Tour_SkipThisChallenge'|translate|e('html_attr') }}"><span class="icon-hide"></span></a>
<a href="javascript:void 0;" class="skip-challenge" onclick="tourEngagement.skipChallenge('{{ challenge.id|e('js') }}')" title="{{ 'Tour_SkipThisChallenge'|translate|e('html_attr') }}"><span class="icon-hide"></span></a>
{% endif %}
{% if challenge.url is not empty %}
<a href="{{ challenge.url|safelink|e('html_attr') }}" target="_blank" rel="noreferrer noopener">{{ challenge.name }}</a>
Expand Down

0 comments on commit 1ef3b8a

Please sign in to comment.