From df638109a3b53aaa33fbda6d7c1b7129fa8f4526 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 11 Dec 2015 11:35:41 +0100 Subject: [PATCH] [FIX] website: min-width of quantity spinner input The size of the ecommerce cart quantity component (- button, input with quantity , + button) is by default fixed at a given width, but given some theme styling the padding of the buttons are so big there is not even one figure visible in the input. With this change, the appearance doesn't change for most themes, but for bootswatch Cosmo and Flatly we go from seeing 0 figure to at least two figures. opw-658224 --- addons/website/static/src/css/website.css | 1 + addons/website/static/src/css/website.sass | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 619638ad254..e845bea73f1 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -862,6 +862,7 @@ span[data-oe-type="monetary"] { } .oe_website_spinner input { text-align: center; + min-width: 50px; } div.media_iframe_video { diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 4d2ee2fded2..52dc61d8696 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -673,6 +673,7 @@ span[data-oe-type="monetary"] width: 121px input text-align: center + min-width: 50px div.media_iframe_video margin: 0 auto