[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
This commit is contained in:
Nicolas Lempereur
2015-12-11 11:45:12 +01:00
parent 697739dd64
commit df638109a3
2 changed files with 2 additions and 0 deletions
@@ -862,6 +862,7 @@ span[data-oe-type="monetary"] {
}
.oe_website_spinner input {
text-align: center;
min-width: 50px;
}
div.media_iframe_video {
@@ -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