From 86708f6f8df9dda70b732dc9e5357fc4a4e6ec22 Mon Sep 17 00:00:00 2001 From: viehlieb Date: Thu, 7 Apr 2022 13:32:52 +0200 Subject: [PATCH] solve hover problem for ordering articles --- app/assets/stylesheets/bootstrap_and_overrides.css.less | 4 ++-- app/views/group_orders/_form.html.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/bootstrap_and_overrides.css.less b/app/assets/stylesheets/bootstrap_and_overrides.css.less index eeb421c0..ebd30b20 100644 --- a/app/assets/stylesheets/bootstrap_and_overrides.css.less +++ b/app/assets/stylesheets/bootstrap_and_overrides.css.less @@ -278,8 +278,8 @@ tr.order-article .article-info { display: none; } -tr.order-article:hover .article-info { - display: block; +tr.order-article:focus{ + background-color: #E4EED6; } tr.order-article:focus .article-info { display: block; diff --git a/app/views/group_orders/_form.html.haml b/app/views/group_orders/_form.html.haml index acb112c8..0cd27c76 100644 --- a/app/views/group_orders/_form.html.haml +++ b/app/views/group_orders/_form.html.haml @@ -69,7 +69,7 @@ = f.hidden_field :order_id = f.hidden_field :updated_by_user_id = f.hidden_field :ordergroup_id - %table.table.table-hover + %table.table %thead %tr %th= heading_helper Article, :name