mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Merge pull request #15699 from kkirsche/patch-8
Fix #15691: .form-control-static changes height when empty
This commit is contained in:
		
						commit
						2549b808a1
					
				| 
						 | 
				
			
			@ -298,6 +298,7 @@ input[type="checkbox"] {
 | 
			
		|||
  padding-bottom: (@padding-base-vertical + 1);
 | 
			
		||||
  // Remove default margin from `p`
 | 
			
		||||
  margin-bottom: 0;
 | 
			
		||||
  min-height: (@line-height-computed + @font-size-base);
 | 
			
		||||
 | 
			
		||||
  &.input-lg,
 | 
			
		||||
  &.input-sm {
 | 
			
		||||
| 
						 | 
				
			
			@ -327,6 +328,7 @@ input[type="checkbox"] {
 | 
			
		|||
    padding: @padding-small-vertical @padding-small-horizontal;
 | 
			
		||||
    font-size: @font-size-small;
 | 
			
		||||
    line-height: @line-height-small;
 | 
			
		||||
    min-height: (@line-height-computed + @font-size-small);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -342,6 +344,7 @@ input[type="checkbox"] {
 | 
			
		|||
    padding: @padding-large-vertical @padding-large-horizontal;
 | 
			
		||||
    font-size: @font-size-large;
 | 
			
		||||
    line-height: @line-height-large;
 | 
			
		||||
    min-height: (@line-height-computed + @font-size-large);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue