From efac0bf8d6cda1e6af85fb84d30d673c8e0a2ee8 Mon Sep 17 00:00:00 2001 From: liuyl Date: Sun, 28 Jul 2013 14:05:47 +0800 Subject: make pull-right !important --- less/navbar.less | 1 - less/navs.less | 6 ------ less/type.less | 1 - less/utilities.less | 4 ++-- 4 files changed, 2 insertions(+), 10 deletions(-) (limited to 'less') diff --git a/less/navbar.less b/less/navbar.less index 653a8d6d9..05077827c 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -317,7 +317,6 @@ } &.pull-right { - float: right; width: auto; } } diff --git a/less/navs.less b/less/navs.less index 4cbc98766..8600a752e 100644 --- a/less/navs.less +++ b/less/navs.less @@ -56,12 +56,6 @@ } } - // Redeclare pull classes because of specificity - // Todo: consider making these utilities !important to avoid this bullshit - > .pull-right { - float: right; - } - // Dividers (basically an hr) within the dropdown .nav-divider { .nav-divider(); diff --git a/less/type.less b/less/type.less index 0acb7f35d..ba0a33692 100644 --- a/less/type.less +++ b/less/type.less @@ -195,7 +195,6 @@ blockquote { // Float right with text-align: right &.pull-right { - float: right; padding-right: 15px; padding-left: 0; border-right: 5px solid @blockquote-border-color; diff --git a/less/utilities.less b/less/utilities.less index d296b32c2..3d310e651 100644 --- a/less/utilities.less +++ b/less/utilities.less @@ -10,10 +10,10 @@ .clearfix(); } .pull-right { - float: right; + float: right !important; } .pull-left { - float: left; + float: left !important; } -- cgit v1.2.3