Skip to content

Commit c46e4c8

Browse files
max-moserSamk13
andcommitted
fix(searchbar): wrap search icon in button element
Align the structure of the originally served HTML more with the resulting structure after the scripted replacement, to avoid style shift. Co-authored-by: Sam Arbid <36583694+Samk13@users.noreply.github.com>
1 parent c02ec2b commit c46e4c8

File tree

1 file changed

+3
-1
lines changed
  • invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm

1 file changed

+3
-1
lines changed

invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/searchbar.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555
class="prompt"
5656
value=""
5757
>
58-
<i aria-hidden="true" class="search icon"></i>
58+
<button class="ui icon button right-floated search" aria-label="{{ _('Search') }}">
59+
<i aria-hidden="true" class="search icon"></i>
60+
</button>
5961
</div>
6062
</div>
6163
</div>

0 commit comments

Comments
 (0)