mirror of https://github.com/ElemeFE/element
				
				
				
			Tabs: fix padding-left for nested tabs
							parent
							
								
									06112e51da
								
							
						
					
					
						commit
						aa09c460ff
					
				| 
						 | 
				
			
			@ -225,9 +225,14 @@
 | 
			
		|||
    }
 | 
			
		||||
  }
 | 
			
		||||
  @include m((top, bottom)) {
 | 
			
		||||
    &:not(.el-tabs--border-card):not(.el-tabs--card) .el-tabs__item:nth-child(2) {
 | 
			
		||||
    .el-tabs__item:nth-child(2) {
 | 
			
		||||
      padding-left: 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &.el-tabs--border-card .el-tabs__item:nth-child(2),
 | 
			
		||||
    &.el-tabs--card .el-tabs__item:nth-child(2) {
 | 
			
		||||
      padding-left: 20px;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  @include m(bottom) {
 | 
			
		||||
    .el-tabs__header {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue