From b189bc31d06ed82077174db53ecfe673b54240a4 Mon Sep 17 00:00:00 2001 From: sandoz Date: Fri, 20 Mar 2009 20:33:06 +0100 Subject: [PATCH] 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. --- public/stylesheets/main.css | 3 ++- public/stylesheets/print.css | 3 ++- public/stylesheets/sass/main.sass | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index e9c3183e..f8578c84 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -67,7 +67,8 @@ input[type="button"], input[type="submit"], input[type="reset"] { color: #222222; padding: 0.1em 0.5em; font-size: 1em; - font-weight: bold; } + font-weight: bold; + min-width: 34px; } select { max-width: 15em; } diff --git a/public/stylesheets/print.css b/public/stylesheets/print.css index b1fdb322..97279937 100644 --- a/public/stylesheets/print.css +++ b/public/stylesheets/print.css @@ -67,7 +67,8 @@ input[type="button"], input[type="submit"], input[type="reset"] { color: #222222; padding: 0.1em 0.5em; font-size: 1em; - font-weight: bold; } + font-weight: bold; + min-width: 34px; } select { max-width: 15em; } diff --git a/public/stylesheets/sass/main.sass b/public/stylesheets/sass/main.sass index af001af7..85dd773c 100644 --- a/public/stylesheets/sass/main.sass +++ b/public/stylesheets/sass/main.sass @@ -78,6 +78,7 @@ input[type="button"], input[type="submit"], input[type="reset"] padding: 0.1em 0.5em font-size: 1em font-weight: bold + min-width: 34px select max-width: 15em