mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Instead of adding inline style, create a CSS rule
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
%h5.inline-header{ style: "background-color: transparent" }
|
||||
%h5.inline-header
|
||||
= "#{raw(line_item.product.name)}"
|
||||
- unless line_item.product.name.include? line_item.name_to_display
|
||||
%span= "- #{raw(line_item.name_to_display)}"
|
||||
|
||||
@@ -382,6 +382,10 @@
|
||||
#line-items {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
|
||||
h5 {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.two-columns-inputs {
|
||||
|
||||
Reference in New Issue
Block a user