From de105bea706cc700940fe383c4a1601105590437 Mon Sep 17 00:00:00 2001 From: sandoz Date: Sun, 22 Mar 2009 13:28:16 +0100 Subject: [PATCH] SASS: Changed padding of input, textacrea, select * At membership list, the layout was slightly broken by the top-padding * of an input-element after a div with a float:left. --- public/stylesheets/main.css | 3 ++- public/stylesheets/print.css | 3 ++- public/stylesheets/sass/main.sass | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index f8578c84..56e98bb1 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -56,7 +56,8 @@ input, textarea, select { border: 1px solid #D7D7D7; font-family: verdana, arial, helvetica, sans-serif; font-size: 0.9em; - padding: .2em; } + padding-left: .2em; + padding-right: .2em; } input:focus, textarea:focus, select:focus { border-color: #000; } diff --git a/public/stylesheets/print.css b/public/stylesheets/print.css index 97279937..9c02ca49 100644 --- a/public/stylesheets/print.css +++ b/public/stylesheets/print.css @@ -56,7 +56,8 @@ input, textarea, select { border: 1px solid #D7D7D7; font-family: verdana, arial, helvetica, sans-serif; font-size: 0.9em; - padding: .2em; } + padding-left: .2em; + padding-right: .2em; } input:focus, textarea:focus, select:focus { border-color: #000; } diff --git a/public/stylesheets/sass/main.sass b/public/stylesheets/sass/main.sass index 85dd773c..739b0abd 100644 --- a/public/stylesheets/sass/main.sass +++ b/public/stylesheets/sass/main.sass @@ -66,7 +66,8 @@ input, textarea, select border: 1px solid #D7D7D7 font-family: verdana, arial, helvetica, sans-serif font-size: 0.9em - padding: .2em + padding-left: .2em + padding-right: .2em input:focus, textarea:focus, select:focus border-color: #000