Skip to content

Commit

Permalink
[FIX] website_sale: fix overlapping text with product categories
Browse files Browse the repository at this point in the history
If the price section goes on two lines because of crossed
prices or many icons, then it would overlap with the product title.

See before/after on the PR.

opw 1913521

closes #29388
  • Loading branch information
len-odoo committed Dec 11, 2018
1 parent 7e5d504 commit 93807af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions addons/website_sale/static/src/css/website_sale.css
Expand Up @@ -108,15 +108,13 @@
right: 0;
bottom: 0;
overflow: hidden;
padding: 0 15px 24px 10px;
padding: 0 15px 0 10px;
min-height: 56px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.75);
z-index: 5;
}
.oe_product .product_price {
padding: 5px 0;
position: absolute;
bottom: 0;
}
.oe_product .oe_product_cart {
Expand Down
4 changes: 1 addition & 3 deletions addons/website_sale/static/src/css/website_sale.sass
Expand Up @@ -96,14 +96,12 @@
right: 0
bottom: 0
overflow: hidden
padding: 0 15px 24px 10px
padding: 0 15px 0 10px
min-height: 56px
border-top: 1px solid rgba(255,255,255,0.2)
background: rgba(255, 255, 255, 0.75)
z-index: 5
.product_price
padding: 5px 0
position: absolute
bottom: 0
.oe_product_cart
position: relative
Expand Down

0 comments on commit 93807af

Please sign in to comment.