diff options
| author | Mark Otto <[email protected]> | 2011-09-16 10:14:35 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-09-16 10:14:35 -0700 |
| commit | e663cfb43fdc9f0ce73865a2a9857579975ecb63 (patch) | |
| tree | 45eec85eef57c9bbe9260dc692601a15cb169758 /lib/patterns.less | |
| parent | c579e4d5507170dd14cbfa804ccfca667bf39c28 (diff) | |
| download | bootstrap-e663cfb43fdc9f0ce73865a2a9857579975ecb63.tar.xz bootstrap-e663cfb43fdc9f0ce73865a2a9857579975ecb63.zip | |
fix tabs jitter bug when there is no active class
Diffstat (limited to 'lib/patterns.less')
| -rw-r--r-- | lib/patterns.less | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/patterns.less b/lib/patterns.less index 543332086..cb92126aa 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -342,22 +342,22 @@ a.menu:after, position: relative; // For the dropdowns mostly top: 1px; > a { - margin-right: 2px; padding: 0 15px; - line-height: (@baseline * 2) - 1; + margin-right: 2px; + line-height: @baseline * 2; + border: 1px solid transparent; .border-radius(4px 4px 0 0); &:hover { - background-color: #eee; - border-bottom: 1px solid #ddd; text-decoration: none; + background-color: #eee; + border-color: #eee #eee #ddd; } } &.active > a { + color: @gray; background-color: @white; - padding: 0 14px; border: 1px solid #ddd; - border-bottom: 0; - color: @gray; + border-bottom-color: transparent; } } // first one for backwards compatibility |
