Tweak slides on mobile
This commit is contained in:
		@@ -70,6 +70,12 @@ const StyledSlider = styled.div`
 | 
				
			|||||||
        touch-action: pan-y;
 | 
					        touch-action: pan-y;
 | 
				
			||||||
        -webkit-tap-highlight-color: transparent;
 | 
					        -webkit-tap-highlight-color: transparent;
 | 
				
			||||||
        outline: none;
 | 
					        outline: none;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        @media (max-width: 500px) {
 | 
				
			||||||
 | 
					            overflow: hidden;
 | 
				
			||||||
 | 
					            margin-left: -20px;
 | 
				
			||||||
 | 
					            width: calc(100vw - 20px);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .flickity-viewport {
 | 
					    .flickity-viewport {
 | 
				
			||||||
@@ -132,18 +138,27 @@ const StyledSlide = styled.div`
 | 
				
			|||||||
    opacity: 0.3;
 | 
					    opacity: 0.3;
 | 
				
			||||||
    transition: opacity .40s ease-in-out;
 | 
					    transition: opacity .40s ease-in-out;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    & + & {
 | 
				
			||||||
 | 
					        margin-left: 30px;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @media (max-width: 1200px) {
 | 
				
			||||||
 | 
					        width: 100%;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @media (max-width: 500px) {
 | 
					    @media (max-width: 500px) {
 | 
				
			||||||
        width: calc(100vw - 10px - 32px);
 | 
					        //width: calc(100vw - 10px - 32px);
 | 
				
			||||||
 | 
					        width: calc(100vw - 10px - 30px);
 | 
				
			||||||
        height: 450px;
 | 
					        height: 450px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        & + & {
 | 
				
			||||||
 | 
					            margin-left: 10px;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    &.is-selected {
 | 
					    &.is-selected {
 | 
				
			||||||
        opacity: 1;
 | 
					        opacity: 1;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					 | 
				
			||||||
    & + & {
 | 
					 | 
				
			||||||
        margin-left: 30px;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
`;
 | 
					`;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const SlideHead = styled.div`
 | 
					const SlideHead = styled.div`
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user