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) --- less/navs.less | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'less') diff --git a/less/navs.less b/less/navs.less index 6b057a800..abee86dcc 100644 --- a/less/navs.less +++ b/less/navs.less @@ -154,14 +154,20 @@ .nav-justified { width: 100%; + > li { float: none; - display: table-cell; - width: 1%; - > a { + > a { text-align: center; } } + + @media (min-width: @screen-small) { + > li { + display: table-cell; + width: 1%; + } + } } // Move borders to anchors instead of bottom of list -- cgit v1.2.3