diff options
author | Mark Otto <otto@github.com> | 2013-08-17 01:01:32 +0400 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2013-08-17 01:01:32 +0400 |
commit | e6f185acad5741fcbe0b3305e0660e5e6ea4f41c (patch) | |
tree | ea0fef195545a18c14d5c4bc7832391bb9f9b0a1 /less/navs.less | |
parent | af7b072a74f187f3c5f57a363ac9e1b19f7a35f5 (diff) |
Justified nav now responsive; example updated accordingly (fixes #9708)
Diffstat (limited to 'less/navs.less')
-rw-r--r-- | less/navs.less | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/less/navs.less b/less/navs.less index 6b057a8000..abee86dcc0 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 |