From e6f185acad5741fcbe0b3305e0660e5e6ea4f41c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 16 Aug 2013 14:01:32 -0700 Subject: Justified nav now responsive; example updated accordingly (fixes #9708) --- dist/css/bootstrap.css | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'dist/css/bootstrap.css') diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index b161caada..515c9cd22 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -3032,15 +3032,20 @@ button.close { } .nav-tabs.nav-justified > li { - display: table-cell; float: none; - width: 1%; } .nav-tabs.nav-justified > li > a { text-align: center; } +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } +} + .nav-tabs.nav-justified > li > a { margin-right: 0; border-bottom: 1px solid #dddddd; @@ -3083,15 +3088,20 @@ button.close { } .nav-justified > li { - display: table-cell; float: none; - width: 1%; } .nav-justified > li > a { text-align: center; } +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } +} + .nav-tabs-justified { border-bottom: 0; } -- cgit v1.2.3