fixes #4156: don't override border radius if stacked nav has one child

This commit is contained in:
Mark Otto
2012-07-23 23:56:13 -07:00
parent 6245886b26
commit cd441e082f
2 changed files with 14 additions and 8 deletions

View File

@@ -171,10 +171,10 @@
.border-radius(0);
}
.nav-tabs.nav-stacked > li:first-child > a {
.border-radius(4px 4px 0 0);
.border-top-radius(4px);
}
.nav-tabs.nav-stacked > li:last-child > a {
.border-radius(0 0 4px 4px);
.border-bottom-radius(4px);
}
.nav-tabs.nav-stacked > li > a:hover {
border-color: #ddd;