mirror of https://github.com/twbs/bootstrap.git
				
				
				
			use @popover-arrow-width for offset the popover to account for the popover arrow
This commit is contained in:
		
							parent
							
								
									535cd57537
								
							
						
					
					
						commit
						221ac861e4
					
				| 
						 | 
					@ -23,10 +23,10 @@
 | 
				
			||||||
  white-space: normal;
 | 
					  white-space: normal;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Offset the popover to account for the popover arrow
 | 
					  // Offset the popover to account for the popover arrow
 | 
				
			||||||
  &.top     { margin-top: -10px; }
 | 
					  &.top     { margin-top: -@popover-arrow-width; }
 | 
				
			||||||
  &.right   { margin-left: 10px; }
 | 
					  &.right   { margin-left: @popover-arrow-width; }
 | 
				
			||||||
  &.bottom  { margin-top: 10px; }
 | 
					  &.bottom  { margin-top: @popover-arrow-width; }
 | 
				
			||||||
  &.left    { margin-left: -10px; }
 | 
					  &.left    { margin-left: -@popover-arrow-width; }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.popover-title {
 | 
					.popover-title {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue