[FIX] website_sale: fix ribbon color-preview in dropdown
The display of the content of we-button was changed at some point from flex to block, this caused the width and height property of the color preview for ribbons to no longer have any effect. This commit fixes that by making the color-previews use the inline-block display mode. It also makes the preview round so as to be consistent with color-pickers, and aligns in in the middle so that it doesn't look off. closes odoo/odoo#58649 X-original-commit: 0c4f2fd9b2039d11f4245f54c5745543b48e8365 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
@@ -30,6 +30,9 @@
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
border: 1px solid white;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.oe_drop_zone + .s_wsale_products_recently_viewed {
|
||||
|
||||
Reference in New Issue
Block a user