Instead of adding inline style, create a CSS rule

This commit is contained in:
Jean-Baptiste Bellet
2023-01-13 09:26:32 +01:00
parent c5d94d372f
commit 3e7e0e4d81
2 changed files with 5 additions and 1 deletions

View File

@@ -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)}"

View File

@@ -382,6 +382,10 @@
#line-items {
display: block;
overflow-x: auto;
h5 {
background-color: transparent;
}
}
.two-columns-inputs {