summaryrefslogtreecommitdiff
path: root/addons/website_sale/static
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2021-02-22 15:18:08 +0000
committerBenjamin Vray <bvr@odoo.com>2021-03-15 07:48:01 +0000
commitdcddf2125652b03bf4bff385c074fef0b2096f1d (patch)
tree55c7f9c02ec3f48f2df56d092d29bce0c79db68e /addons/website_sale/static
parentb88b634a0363a55411290e54e37806cfec1b2de5 (diff)
[FIX] website, website_sale: fix right corner ribbon
Before this commit, when ribbon was at the right corner of a product card, this ribbon hid the buttons in list view. After this commit, in list view, we place the ribbon on the left to avoid this bug. There was no better solution to fix this in stable. task-2466120 closes odoo/odoo#66618 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website_sale/static')
-rw-r--r--addons/website_sale/static/src/scss/website_sale.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/website_sale/static/src/scss/website_sale.scss b/addons/website_sale/static/src/scss/website_sale.scss
index 982a5aa4e26..0eb2ed1115d 100644
--- a/addons/website_sale/static/src/scss/website_sale.scss
+++ b/addons/website_sale/static/src/scss/website_sale.scss
@@ -278,6 +278,12 @@ $o-wsale-products-layout-grid-gutter-width: min($grid-gutter-width / 2, $o-wsale
background-color: $white !important;
}
}
+ .o_ribbon_right {
+ @include o-ribbon-left();
+ }
+ .o_tag_right {
+ @include o-tag-left();
+ }
}
}
}