0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

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 { .list-group {
margin: 0 0 20px; padding-left: 0;
margin-bottom: 20px;
background-color: #ffffff; background-color: #ffffff;
} }
@ -3698,7 +3699,7 @@ button.close {
.navbar-brand { .navbar-brand {
float: left; float: left;
margin-right: 5px; margin-right: 5px;
margin-left: -5px; margin-left: -15px;
} }
.navbar-nav { .navbar-nav {
float: left; float: left;

View File

@ -7,7 +7,8 @@
// Easily usable on <ul>, <ol>, or <div>. // Easily usable on <ul>, <ol>, or <div>.
.list-group { .list-group {
// No need to set list-style: none; since .list-group-item is block level // 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; background-color: @list-group-bg;
} }

View File

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