Skip to content

Commit

Permalink
Merge pull request #375 from beescoop/12.0-t3781-print-label
Browse files Browse the repository at this point in the history
[FIX] b_print_label: isolate css
  • Loading branch information
remytms authored Apr 26, 2022
2 parents 89c0e88 + fd331a5 commit 2b2dbac
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion beesdoo_print_label/static/css/pricetag_base.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.floating_box {
.bpl-floating_box {
display: inline-block;
vertical-align: middle;
}
6 changes: 5 additions & 1 deletion beesdoo_print_label/static/css/pricetag_normal_base.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.normal_pricetag {
.bpl-normal_pricetag {
border: 1px solid grey;
background-color: white;
margin: 0 -0.14cm -0.03cm 0;
Expand Down Expand Up @@ -50,4 +50,8 @@
overflow: hidden;
font-size: 9px;
}
.floating_box {
display: inline-block;
vertical-align: middle;
}
}
2 changes: 1 addition & 1 deletion beesdoo_print_label/static/css/pricetag_normal_normal.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.normal_pricetag_normal {
.bpl-normal_pricetag_normal {
width: 7.4cm;
height: 4.7cm;

Expand Down
4 changes: 3 additions & 1 deletion beesdoo_print_label/views/report_pricetag_normal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
t-set="product_tmpl_id"
t-value="line.product_id.product_tmpl_id"
/>
<div class="normal_pricetag normal_pricetag_normal floating_box">
<div
class="bpl-normal_pricetag bpl-normal_pricetag_normal bpl-floating_box"
>
<div class="product_name">
<t t-esc="product_tmpl_id.name" />
</div>
Expand Down

0 comments on commit 2b2dbac

Please sign in to comment.