mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Improve alignment of navbar brand and fix up left padding on list groups
This commit is contained in:
		
							parent
							
								
									eba9b4de6c
								
							
						
					
					
						commit
						b0e943399d
					
				| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -284,7 +284,7 @@
 | 
			
		|||
 | 
			
		||||
  .navbar-brand {
 | 
			
		||||
    float: left;
 | 
			
		||||
    margin-left: -5px;
 | 
			
		||||
    margin-left: -15px;
 | 
			
		||||
    margin-right: 5px;
 | 
			
		||||
  }
 | 
			
		||||
  .navbar-nav {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue