Improve alignment of navbar brand and fix up left padding on list groups

This commit is contained in:
Mark Otto 2013-06-21 17:21:44 -07:00
parent eba9b4de6c
commit b0e943399d
3 changed files with 6 additions and 4 deletions

View File

@ -2956,7 +2956,8 @@ input[type="button"].btn-block {
}
.list-group {
margin: 0 0 20px;
padding-left: 0;
margin-bottom: 20px;
background-color: #ffffff;
}
@ -3698,7 +3699,7 @@ button.close {
.navbar-brand {
float: left;
margin-right: 5px;
margin-left: -5px;
margin-left: -15px;
}
.navbar-nav {
float: left;

View File

@ -7,7 +7,8 @@
// Easily usable on <ul>, <ol>, or <div>.
.list-group {
// No need to set list-style: none; since .list-group-item is block level
margin: 0 0 20px; // reset all margins because ul and ol
margin-bottom: 20px;
padding-left: 0; // reset padding because ul and ol
background-color: @list-group-bg;
}

View File

@ -284,7 +284,7 @@
.navbar-brand {
float: left;
margin-left: -5px;
margin-left: -15px;
margin-right: 5px;
}
.navbar-nav {