Skip to content

Commit 1595d6e

Browse files
author
Lukas Nys
committed
move anchor image to the end of the title (#882)
1 parent ef4d2e1 commit 1595d6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/components/class-field-description.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<section class='{{@type}}'>
22
{{!-- TODO: Fix this link for a11y --}}
33
<h3 class='class-field-description--link' data-anchor='{{@field.name}}' role='link' {{on 'click' (fn this.updateAnchor @field.name)}}>
4-
<a class='anchor' {{!-- template-lint-disable link-href-attributes --}}>
5-
{{svg-jar 'fa-link' class='class-field-description--link-hover' width='20px' height='20px'}}
6-
</a>
74
<span class='{{@type}}-name'>{{@field.name}}</span>
85
{{#if @field.params}}
96
<span class='args'>
@@ -19,6 +16,9 @@
1916
{{#if @field.deprecated}}
2017
<span class='access'>deprecated</span>
2118
{{/if}}
19+
<a class='anchor' {{!-- template-lint-disable link-href-attributes --}}>
20+
{{svg-jar 'fa-link' class='class-field-description--link-hover' width='20px' height='20px'}}
21+
</a>
2222
</h3>
2323
{{#if @model.module}}
2424
<div class='attributes'>

0 commit comments

Comments
 (0)