mirror of https://github.com/ElemeFE/element
				
				
				
			Tabs & Dropdown: fix style (#14452)
							parent
							
								
									b8d0b45858
								
							
						
					
					
						commit
						dc83a5a848
					
				| 
						 | 
				
			
			@ -69,6 +69,8 @@
 | 
			
		|||
  border: 1px solid $--border-color-lighter;
 | 
			
		||||
  border-radius: $--border-radius-base;
 | 
			
		||||
  box-shadow: $--dropdown-menu-box-shadow;
 | 
			
		||||
  max-height: 400px;
 | 
			
		||||
  overflow: auto;
 | 
			
		||||
 | 
			
		||||
  @include e(item) {
 | 
			
		||||
    list-style: none;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -225,9 +225,17 @@
 | 
			
		|||
    > .el-tabs__header .el-tabs__item {
 | 
			
		||||
      transition: all .3s cubic-bezier(.645,.045,.355,1);
 | 
			
		||||
      border: 1px solid transparent;
 | 
			
		||||
      margin: -1px -1px 0;
 | 
			
		||||
      margin-top: -1px;
 | 
			
		||||
      color: $--color-text-secondary;
 | 
			
		||||
 | 
			
		||||
      &:first-child {
 | 
			
		||||
        margin-left: -1px;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      & + .el-tabs__item {
 | 
			
		||||
        margin-left: -1px;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      &.is-active {
 | 
			
		||||
        color: $--color-primary;
 | 
			
		||||
        background-color: $--color-white;
 | 
			
		||||
| 
						 | 
				
			
			@ -241,6 +249,10 @@
 | 
			
		|||
        color: $--disabled-color-base;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    > .el-tabs__header .is-scrollable .el-tabs__item:first-child {
 | 
			
		||||
      margin-left: 0;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  @include m((top, bottom)) {
 | 
			
		||||
    .el-tabs__item.is-top:nth-child(2),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue