Skip to content
Snippets Groups Projects
Commit 26e2274f authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

Revert "global search: add alt attributes and change display of reset icon, re #821"

This reverts commit 8b8f72dd.
parent 799e0908
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
transition: opacity $transition-duration; transition: opacity $transition-duration;
} }
&.has-value #globalsearch-clear { &.has-value #globalsearch-clear {
display: inline; opacity: 1;
} }
// The actual search input // The actual search input
...@@ -286,7 +286,7 @@ html.responsive-display { ...@@ -286,7 +286,7 @@ html.responsive-display {
} }
#globalsearch-clear { #globalsearch-clear {
display: inline; opacity: 1;
} }
} }
} }
......
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
placeholder="<?= _('Was suchen Sie?') ?>" role="searchbox"> placeholder="<?= _('Was suchen Sie?') ?>" role="searchbox">
<?= Icon::create('decline', Icon::ROLE_INACTIVE)->asImg([ <?= Icon::create('decline', Icon::ROLE_INACTIVE)->asImg([
'id' => 'globalsearch-clear', 'id' => 'globalsearch-clear',
'class' => 'hidden-small-down', 'class' => 'hidden-small-down'
'alt' => _('Suche zurücksetzen'),
]) ?> ]) ?>
<?= Icon::create('search', Icon::ROLE_INFO_ALT)->asInput([ <?= Icon::create('search', Icon::ROLE_INFO_ALT)->asInput([
'id' => 'globalsearch-icon', 'id' => 'globalsearch-icon',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment