Skip to content

Commit

Permalink
move class-field-description--link class to correct element (ember-le…
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Nys committed Sep 10, 2023
1 parent f824028 commit 1088917
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/components/class-field-description.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<section class='{{@type}}'>
{{!-- TODO: Fix this link for a11y --}}
<h3 class='class-field-description--link' data-anchor='{{@field.name}}'>
<h3 data-anchor='{{@field.name}}'>
<span class='{{@type}}-name'>{{@field.name}}</span>
{{#if @field.params}}
<span class='args'>
Expand All @@ -16,8 +15,9 @@
{{#if @field.deprecated}}
<span class='access'>deprecated</span>
{{/if}}
<a class='anchor' role='link' {{on 'click' (fn this.updateAnchor @field.name)}} {{!-- template-lint-disable link-href-attributes --}}>
{{svg-jar 'fa-link' class='class-field-description--link-hover' width='20px' height='20px'}}
{{!-- TODO: Fix this link for a11y --}}
<a class='anchor class-field-description--link' role='link' {{on 'click' (fn this.updateAnchor @field.name)}} {{!-- template-lint-disable link-href-attributes --}}>
{{svg-jar 'fa-link' width='20px' height='20px'}}
</a>
</h3>
{{#if @model.module}}
Expand Down

0 comments on commit 1088917

Please sign in to comment.