Skip to content

Commit

Permalink
Merge pull request #542 from WWWPiramalFinanceCOM/feature/optimization
Browse files Browse the repository at this point in the history
Feature/optimization
  • Loading branch information
VaibhavSasulkar authored Oct 11, 2024
2 parents 08f1e7d + ead9976 commit cde2433
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions blocks/carousel/embed-banner-carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,21 @@
}
}

@media screen and (min-width:768px) and (max-width:1024px) {
.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background {
background-size: contain;
background-position: left;
}

.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel.darkbrown .background {
background-color: #1f1610;
}

.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel.stonebrown .background {
background-color: #a3907c;
}
}

@media (min-width:1025px) and (max-width:1300px) {
.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background {
height: 529px;
Expand Down
8 changes: 8 additions & 0 deletions component-models.json
Original file line number Diff line number Diff line change
Expand Up @@ -1301,6 +1301,14 @@
{
"name": "lightshadegray",
"value": "--light-gray"
},
{
"name": "darkbrown",
"value": "darkbrown"
},
{
"name": "stonebrown",
"value": "stonebrown"
}
]
},
Expand Down

0 comments on commit cde2433

Please sign in to comment.