armansansd 2 năm trước cách đây
mục cha
commit
17e419f4f6

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
web/themes/custom/popsu/assets/css/styles.min.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
web/themes/custom/popsu/assets/js/main.js


+ 4 - 3
web/themes/custom/popsu/lib/script.js

@@ -160,9 +160,10 @@ $(function(){
 				{
 					breakpoint: 800,
 					settings: {
-						slidesToShow: 2,
-						  slidesToScroll: 1,
-						centerPadding: '0',
+						slidesToShow: 1,
+						slidesToScroll: 1,
+						centerMode: true,
+						centerPadding: '30px',
 					}
 				  }]
 		});

+ 4 - 0
web/themes/custom/popsu/sass/pages/_ressources.scss

@@ -287,6 +287,10 @@
 		//margin-top: -3rem;
 		column-gap: 1rem;
 		grid-template-columns: calc(10% - 3em) repeat(4, 20%);
+		@include breakpoint(small down) {
+			display: block;
+			padding: 1rem ;
+		}
 		&>div:first-child{
 			grid-column-start: 2;
 		}

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác