From 0537c24f997b2ae500eaed0dcf599c50c99c8793 Mon Sep 17 00:00:00 2001 From: roen-odoo Date: Wed, 2 Feb 2022 13:53:44 +0000 Subject: [PATCH] [FIX] pos_gift_card: giftcard popup text too long Current behavior: When using DE language in PoS. The text from giftcart popupbutton was tool long and was out of the button Steps to reproduce: - Change language to DE - Open PoS and giftcard popup opw-2744369 closes odoo/odoo#85090 X-original-commit: 28903717e2af5bbcb65e6be81ab0668d956ec659 Signed-off-by: Masereel Pierre Signed-off-by: Engels Robin (roen) --- addons/pos_gift_card/static/src/css/giftCard.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/addons/pos_gift_card/static/src/css/giftCard.css b/addons/pos_gift_card/static/src/css/giftCard.css index 3d3753a5b43..061367a5bdf 100644 --- a/addons/pos_gift_card/static/src/css/giftCard.css +++ b/addons/pos_gift_card/static/src/css/giftCard.css @@ -34,10 +34,13 @@ } .giftCardPopupButton { - width: 50% !important; - margin: 6px; + width: auto !important; + height: auto !important; + padding: 10px; } .giftCardPopupConfirmButton { - width: 40% !important; + flex-grow: 1; + height: auto !important; + padding: 10px; }