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:
parent
eba9b4de6c
commit
b0e943399d
5
docs/assets/css/bootstrap.css
vendored
5
docs/assets/css/bootstrap.css
vendored
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user