From 08020fff6312c151b71c856aeaa571da2052977d Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 3 Aug 2022 14:02:18 +0100 Subject: [PATCH] Switch reverse_directions link to use a button This makes it keyboard selectable, and also preserves the event handler. Refs #3637 --- app/assets/stylesheets/common.scss | 4 ---- app/views/layouts/_search.html.erb | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 1f80a9b5b..2682af00a 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1288,10 +1288,6 @@ tr.turn:hover { vertical-align: middle; } } - - a.reverse_directions { - cursor: pointer; - } } /* Rules for user images */ diff --git a/app/views/layouts/_search.html.erb b/app/views/layouts/_search.html.erb index 24e25076f..922cd4b24 100644 --- a/app/views/layouts/_search.html.erb +++ b/app/views/layouts/_search.html.erb @@ -47,7 +47,7 @@
- <%= t("site.search.reverse_directions_text") %> +
-- 2.43.2