mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Fix caret position for Dropdown in a bottom navbar
This commit is contained in:
		
							parent
							
								
									101129763c
								
							
						
					
					
						commit
						a9e7abd29b
					
				| 
						 | 
				
			
			@ -75,11 +75,10 @@
 | 
			
		|||
    float: none;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .dropup {
 | 
			
		||||
    .dropdown-menu {
 | 
			
		||||
      position: absolute;
 | 
			
		||||
      top: auto;
 | 
			
		||||
      bottom: 100%;
 | 
			
		||||
  .dropdown-toggle {
 | 
			
		||||
    &::after {
 | 
			
		||||
      border-top: $caret-width solid;
 | 
			
		||||
      border-bottom: 0;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -152,6 +151,18 @@
 | 
			
		|||
          padding-right: 0;
 | 
			
		||||
          padding-left: 0;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .dropup {
 | 
			
		||||
          .dropdown-menu {
 | 
			
		||||
            position: absolute;
 | 
			
		||||
            top: auto;
 | 
			
		||||
            bottom: 100%;
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
          .dropdown-toggle {
 | 
			
		||||
            @include caret(up);
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      @include media-breakpoint-up($next) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue