fix behavior - when link is provided in article details not clickable due to hover property

This commit is contained in:
viehlieb 2022-04-05 13:20:06 +02:00
parent d37a75262d
commit aab1dcaff2
2 changed files with 7 additions and 2 deletions

View file

@ -241,6 +241,9 @@ table {
tr.order-article:hover .article-info {
display: none;
}
tr.order-article:focus .article-info {
display: none;
}
}
#order-footer {
@ -278,7 +281,9 @@ tr.order-article .article-info {
tr.order-article:hover .article-info {
display: block;
}
tr.order-article:focus .article-info {
display: block;
}
// ********* Articles

View file

@ -94,7 +94,7 @@
%i.icon-tag
%td{colspan: "9"}
- order_articles.each do |order_article|
%tr{class: "#{cycle('even', 'odd', name: 'articles')} order-article #{get_missing_units_css_class(@ordering_data[:order_articles][order_article.id][:missing_units])}", valign: "top"}
%tr{class: "#{cycle('even', 'odd', name: 'articles')} order-article #{get_missing_units_css_class(@ordering_data[:order_articles][order_article.id][:missing_units])}", valign: "top", tabindex: "0"}
%td.name= order_article.article.name
- if @order.stockit?
%td= truncate order_article.article.supplier.name, length: 15