mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Fix form-control-feedback position when label has sr-only class
This commit is contained in:
		
							parent
							
								
									ee7498a693
								
							
						
					
					
						commit
						3777ef007d
					
				| 
						 | 
					@ -322,6 +322,12 @@ input[type="checkbox"],
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Reposition feedback icon if label is hidden with "screenreader only" state
 | 
				
			||||||
 | 
					.has-feedback label.sr-only ~ .form-control-feedback {
 | 
				
			||||||
 | 
					    top: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Static form control text
 | 
					// Static form control text
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
// Apply class to a `p` element to make any string of text align with labels in
 | 
					// Apply class to a `p` element to make any string of text align with labels in
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue