Support for new collections carousel block.

This commit is contained in:
mateuswetah 2019-08-23 12:05:11 -03:00
parent d889f3b1c6
commit 5de0ae38a5
3 changed files with 8 additions and 4 deletions

View File

@ -25,7 +25,7 @@ footer {
li{
color: white;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
&.tainacan-side {
h6 {

View File

@ -70,11 +70,13 @@
}
/* Carousel */
.wp-block-tainacan-carousel-items-list.alignwide .tainacan-carousel{
.wp-block-tainacan-carousel-items-list.alignwide .tainacan-carousel,
.wp-block-tainacan-carousel-collections-list.alignwide .tainacan-carousel {
width: 100%;
left: 0;
}
.wp-block-tainacan-carousel-items-list.alignfull .tainacan-carousel{
.wp-block-tainacan-carousel-items-list.alignfull .tainacan-carousel,
.wp-block-tainacan-carousel-collections-list.alignfull .tainacan-carousel {
width: 100%;
width: 100vw;
left: 0;

View File

@ -580,7 +580,9 @@ function tainacan_get_color_scheme_css( $colors ) {
}
.tainacan-content .wp-block-tainacan-carousel-items-list .swiper-button-prev svg,
.tainacan-content .wp-block-tainacan-carousel-items-list .swiper-button-next svg {
.tainacan-content .wp-block-tainacan-carousel-items-list .swiper-button-next svg,
.tainacan-content .wp-block-tainacan-carousel-collections-list .swiper-button-prev svg,
.tainacan-content .wp-block-tainacan-carousel-collections-list .swiper-button-next svg {
fill: {$colors['tainacan_link_color']} !important;
}