Port of blueprint commit 5b455fed7c044a97a2e72fd483887c3a9e526924

Author: Christian Montoya <sirokai@gmail.com>
Date:   Wed Sep 29 16:43:55 2010 -0400

    Fixed IE label alignment issue
This commit is contained in:
Chris Eppstein 2010-11-12 11:04:44 -08:00
parent 386910ea6c
commit e35ebb8046
3 changed files with 11 additions and 3 deletions

View File

@ -52,9 +52,6 @@
@mixin blueprint-inline-form-ie { @mixin blueprint-inline-form-ie {
div, p { div, p {
vertical-align: middle; } vertical-align: middle; }
label {
position: relative;
top: -0.25em; }
input { input {
&.checkbox, &.radio, &.button, button { &.checkbox, &.radio, &.button, button {
margin: 0.5em 0; } } } margin: 0.5em 0; } } }
@ -80,6 +77,9 @@
legend, #IE8#HACK {margin-top:0;margin-bottom:0;} legend, #IE8#HACK {margin-top:0;margin-bottom:0;}
textarea { textarea {
overflow: auto; } overflow: auto; }
label {
position: relative;
top: -0.25em; }
input { input {
&.text { &.text {
margin: 0.5em 0; margin: 0.5em 0;

View File

@ -39,6 +39,10 @@ legend, #IE8#HACK {
textarea { textarea {
overflow: auto; } overflow: auto; }
label {
position: relative;
top: -0.25em; }
input.text { input.text {
margin: 0.5em 0; margin: 0.5em 0;
background-color: white; background-color: white;

View File

@ -39,6 +39,10 @@ legend, #IE8#HACK {
textarea { textarea {
overflow: auto; } overflow: auto; }
label {
position: relative;
top: -0.25em; }
input.text { input.text {
margin: 0.5em 0; margin: 0.5em 0;
background-color: white; background-color: white;