[DE SSE mobile] Correct swiper pagination
This commit is contained in:
		
							parent
							
								
									21be71a26d
								
							
						
					
					
						commit
						54c94998eb
					
				| 
						 | 
					@ -70,7 +70,7 @@
 | 
				
			||||||
            font-weight: 600;
 | 
					            font-weight: 600;
 | 
				
			||||||
            color: @text-normal;
 | 
					            color: @text-normal;
 | 
				
			||||||
            //line-height: 17px;
 | 
					            //line-height: 17px;
 | 
				
			||||||
            max-height: 34px;
 | 
					            //max-height: 34px;
 | 
				
			||||||
            //overflow: hidden;
 | 
					            //overflow: hidden;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        .navbar-inner, .subnavbar-inner {
 | 
					        .navbar-inner, .subnavbar-inner {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -71,6 +71,7 @@
 | 
				
			||||||
    .list {
 | 
					    .list {
 | 
				
			||||||
        &:first-child {
 | 
					        &:first-child {
 | 
				
			||||||
            margin-top: 0;
 | 
					            margin-top: 0;
 | 
				
			||||||
 | 
					            margin-bottom: 0;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        .inner-range-title {
 | 
					        .inner-range-title {
 | 
				
			||||||
            color: @text-normal;
 | 
					            color: @text-normal;
 | 
				
			||||||
| 
						 | 
					@ -1118,9 +1119,10 @@ input[type="number"]::-webkit-inner-spin-button {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.swiper-container {
 | 
					// Swiper
 | 
				
			||||||
    height: 100%;
 | 
					//.swiper-container {
 | 
				
			||||||
}
 | 
					//    height: 100%;
 | 
				
			||||||
 | 
					//}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.swiper-pagination-bullet {
 | 
					.swiper-pagination-bullet {
 | 
				
			||||||
    background: @background-menu-divider;
 | 
					    background: @background-menu-divider;
 | 
				
			||||||
| 
						 | 
					@ -1130,6 +1132,14 @@ input[type="number"]::-webkit-inner-spin-button {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.swiper-pagination-bullets {
 | 
				
			||||||
 | 
					    position: relative;
 | 
				
			||||||
 | 
					    margin-top: 10px;
 | 
				
			||||||
 | 
					    .swiper-pagination-bullet {
 | 
				
			||||||
 | 
					        margin: 0 8px;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.preview-cell-style {
 | 
					.preview-cell-style {
 | 
				
			||||||
    background-position: center;
 | 
					    background-position: center;
 | 
				
			||||||
    background-repeat: no-repeat;
 | 
					    background-repeat: no-repeat;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -134,7 +134,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Swiper
 | 
					// Swiper
 | 
				
			||||||
.swiper-container {
 | 
					.swiper-container {
 | 
				
			||||||
    height: 100%;
 | 
					    // height: 100%;
 | 
				
			||||||
    .swiper-pagination-bullet-active{
 | 
					    .swiper-pagination-bullet-active{
 | 
				
			||||||
        background: @black;
 | 
					        background: @black;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -148,14 +148,6 @@
 | 
				
			||||||
    // }
 | 
					    // }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.swiper-pagination-bullets {
 | 
					 | 
				
			||||||
    position: relative;
 | 
					 | 
				
			||||||
    margin-top: 10px;
 | 
					 | 
				
			||||||
    .swiper-pagination-bullet {
 | 
					 | 
				
			||||||
        margin: 0 8px;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// Skeleton table
 | 
					// Skeleton table
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.table-styles .row div:not(:first-child) {
 | 
					.table-styles .row div:not(:first-child) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -144,7 +144,6 @@ const PageCellStyle = props => {
 | 
				
			||||||
            </Navbar>
 | 
					            </Navbar>
 | 
				
			||||||
            {cellStyles && cellStyles.length ? (
 | 
					            {cellStyles && cellStyles.length ? (
 | 
				
			||||||
                <div className="swiper-container swiper-init" data-pagination='{"el": ".swiper-pagination"}'>
 | 
					                <div className="swiper-container swiper-init" data-pagination='{"el": ".swiper-pagination"}'>
 | 
				
			||||||
                    <div className="swiper-pagination"></div>
 | 
					 | 
				
			||||||
                    <div className="swiper-wrapper">
 | 
					                    <div className="swiper-wrapper">
 | 
				
			||||||
                        {arraySlides.map((_, indexSlide) => {
 | 
					                        {arraySlides.map((_, indexSlide) => {
 | 
				
			||||||
                            let stylesSlide = cellStyles.slice(indexSlide * countStylesSlide, (indexSlide * countStylesSlide) + countStylesSlide);
 | 
					                            let stylesSlide = cellStyles.slice(indexSlide * countStylesSlide, (indexSlide * countStylesSlide) + countStylesSlide);
 | 
				
			||||||
| 
						 | 
					@ -161,6 +160,7 @@ const PageCellStyle = props => {
 | 
				
			||||||
                                </div>
 | 
					                                </div>
 | 
				
			||||||
                        )})}
 | 
					                        )})}
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
 | 
					                    <div className="swiper-pagination"></div>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            ) : null}
 | 
					            ) : null}
 | 
				
			||||||
        </Page>
 | 
					        </Page>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue