1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-30 07:19:13 +02:00

Justified nav now responsive; example updated accordingly (fixes #9708)

This commit is contained in:
Mark Otto
2013-08-16 14:01:32 -07:00
parent af7b072a74
commit e6f185acad
4 changed files with 48 additions and 17 deletions

View File

@@ -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