aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-16 14:01:32 -0700
committerMark Otto <[email protected]>2013-08-16 14:01:32 -0700
commite6f185acad5741fcbe0b3305e0660e5e6ea4f41c (patch)
treeea0fef195545a18c14d5c4bc7832391bb9f9b0a1 /less
parentaf7b072a74f187f3c5f57a363ac9e1b19f7a35f5 (diff)
downloadbootstrap-e6f185acad5741fcbe0b3305e0660e5e6ea4f41c.tar.xz
bootstrap-e6f185acad5741fcbe0b3305e0660e5e6ea4f41c.zip
Justified nav now responsive; example updated accordingly (fixes #9708)
Diffstat (limited to 'less')
-rw-r--r--less/navs.less12
1 files changed, 9 insertions, 3 deletions
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