aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2023-02-14 10:29:45 +0100
committerJan-Hendrik Willms <tleilax+github@gmail.com>2023-02-14 10:29:45 +0100
commit26e2274f70121bed4afdda0aca2542572e7dae7f (patch)
treeae13e76f98f5ce609be3f2663b004e64d507c133
parent799e09084dc676940bd03aa93f379adf1ed9555e (diff)
Revert "global search: add alt attributes and change display of reset icon, re #821"
This reverts commit 8b8f72dd826088f5dd243f1060be564992be898d.
-rw-r--r--resources/assets/stylesheets/scss/globalsearch.scss4
-rw-r--r--templates/globalsearch/searchbar.php3
2 files changed, 3 insertions, 4 deletions
diff --git a/resources/assets/stylesheets/scss/globalsearch.scss b/resources/assets/stylesheets/scss/globalsearch.scss
index 9087b0b..d4057b6 100644
--- a/resources/assets/stylesheets/scss/globalsearch.scss
+++ b/resources/assets/stylesheets/scss/globalsearch.scss
@@ -25,7 +25,7 @@
transition: opacity $transition-duration;
}
&.has-value #globalsearch-clear {
- display: inline;
+ opacity: 1;
}
// The actual search input
@@ -286,7 +286,7 @@ html.responsive-display {
}
#globalsearch-clear {
- display: inline;
+ opacity: 1;
}
}
}
diff --git a/templates/globalsearch/searchbar.php b/templates/globalsearch/searchbar.php
index 6c2f07b..beb4ba2 100644
--- a/templates/globalsearch/searchbar.php
+++ b/templates/globalsearch/searchbar.php
@@ -3,8 +3,7 @@
placeholder="<?= _('Was suchen Sie?') ?>" role="searchbox">
<?= Icon::create('decline', Icon::ROLE_INACTIVE)->asImg([
'id' => 'globalsearch-clear',
- 'class' => 'hidden-small-down',
- 'alt' => _('Suche zurücksetzen'),
+ 'class' => 'hidden-small-down'
]) ?>
<?= Icon::create('search', Icon::ROLE_INFO_ALT)->asInput([
'id' => 'globalsearch-icon',