From cb597806ec54d2dd65867ceb4e68cd055a10a02c Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Thu, 29 Dec 2016 14:55:05 -0800 Subject: [PATCH] [FIX] point_of_sale: force numpad to appear next to actionpad The sizes of these UI elements are all fixed and non-responsive and everything is supposed to fit. Currently however Firefox (at least 50.1.0 up to nightly 53.0a1) is computing the width of a
element to be 0.0166626px, forcing the numpad to wrap to the next line. This forces the numpad to be 216px wide (width of 4 buttons at 54px each). --- addons/point_of_sale/static/src/css/pos.css | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index 26594dd7214..34d1510154f 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -701,6 +701,7 @@ td { display: inline-block; float: right; text-align: center; + width: 216px; margin: 16px; margin-top: 8px; margin-left: 0px;