Small hack to make button "+" and "-" to be same size.

* It would be better to put a specific class for de/increase buttons.
* Right now just adding min-width to input globally in SASS.
This commit is contained in:
sandoz 2009-03-20 20:33:06 +01:00 committed by sandoz
parent 6da9190b03
commit b189bc31d0
3 changed files with 5 additions and 2 deletions

View file

@ -67,7 +67,8 @@ input[type="button"], input[type="submit"], input[type="reset"] {
color: #222222; color: #222222;
padding: 0.1em 0.5em; padding: 0.1em 0.5em;
font-size: 1em; font-size: 1em;
font-weight: bold; } font-weight: bold;
min-width: 34px; }
select { select {
max-width: 15em; } max-width: 15em; }

View file

@ -67,7 +67,8 @@ input[type="button"], input[type="submit"], input[type="reset"] {
color: #222222; color: #222222;
padding: 0.1em 0.5em; padding: 0.1em 0.5em;
font-size: 1em; font-size: 1em;
font-weight: bold; } font-weight: bold;
min-width: 34px; }
select { select {
max-width: 15em; } max-width: 15em; }

View file

@ -78,6 +78,7 @@ input[type="button"], input[type="submit"], input[type="reset"]
padding: 0.1em 0.5em padding: 0.1em 0.5em
font-size: 1em font-size: 1em
font-weight: bold font-weight: bold
min-width: 34px
select select
max-width: 15em max-width: 15em