Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2013-08-17 01:01:32 +0400
committerMark Otto <otto@github.com>2013-08-17 01:01:32 +0400
commite6f185acad5741fcbe0b3305e0660e5e6ea4f41c (patch)
treeea0fef195545a18c14d5c4bc7832391bb9f9b0a1 /less/navs.less
parentaf7b072a74f187f3c5f57a363ac9e1b19f7a35f5 (diff)
Justified nav now responsive; example updated accordingly (fixes #9708)
Diffstat (limited to 'less/navs.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 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