From e35ebb8046ec7460a6b89d7c456b598ecbf482a5 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Fri, 12 Nov 2010 11:04:44 -0800 Subject: [PATCH] Port of blueprint commit 5b455fed7c044a97a2e72fd483887c3a9e526924 Author: Christian Montoya Date: Wed Sep 29 16:43:55 2010 -0400 Fixed IE label alignment issue --- frameworks/blueprint/stylesheets/blueprint/_ie.scss | 6 +++--- test/fixtures/stylesheets/blueprint/css/ie.css | 4 ++++ .../stylesheets/blueprint/css/single-imports/ie.css | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/frameworks/blueprint/stylesheets/blueprint/_ie.scss b/frameworks/blueprint/stylesheets/blueprint/_ie.scss index e8821f14..27c01bac 100644 --- a/frameworks/blueprint/stylesheets/blueprint/_ie.scss +++ b/frameworks/blueprint/stylesheets/blueprint/_ie.scss @@ -52,9 +52,6 @@ @mixin blueprint-inline-form-ie { div, p { vertical-align: middle; } - label { - position: relative; - top: -0.25em; } input { &.checkbox, &.radio, &.button, button { margin: 0.5em 0; } } } @@ -80,6 +77,9 @@ legend, #IE8#HACK {margin-top:0;margin-bottom:0;} textarea { overflow: auto; } + label { + position: relative; + top: -0.25em; } input { &.text { margin: 0.5em 0; diff --git a/test/fixtures/stylesheets/blueprint/css/ie.css b/test/fixtures/stylesheets/blueprint/css/ie.css index 4ee64eb8..637d2f1a 100644 --- a/test/fixtures/stylesheets/blueprint/css/ie.css +++ b/test/fixtures/stylesheets/blueprint/css/ie.css @@ -39,6 +39,10 @@ legend, #IE8#HACK { textarea { overflow: auto; } +label { + position: relative; + top: -0.25em; } + input.text { margin: 0.5em 0; background-color: white; diff --git a/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css b/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css index 4ee64eb8..637d2f1a 100644 --- a/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css +++ b/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css @@ -39,6 +39,10 @@ legend, #IE8#HACK { textarea { overflow: auto; } +label { + position: relative; + top: -0.25em; } + input.text { margin: 0.5em 0; background-color: white;