mirror of
				https://github.com/twbs/bootstrap.git
				synced 2025-10-31 00:04:27 -04:00 
			
		
		
		
	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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user