Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Sm1pleScr1pt committed Oct 11, 2024
2 parents 666730f + 16518a5 commit 1017c80
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 27 deletions.
8 changes: 4 additions & 4 deletions blocks/carousel/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five>.background .foreground,
.banner-carousel-wrapper.personal-loan-sub-page-banner .carousel-wrapper .carousel .panel-container .teaser .foreground {
width: 100%;
min-height: 450px;
min-height: 440px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .foreground .text .title>h2,
Expand Down Expand Up @@ -720,7 +720,7 @@

@media screen and (max-width:767px) {
.section.banner-carousel-wrapper .carousel-wrapper .carousel .panel-container .teaser {
min-height: 450px;
min-height: 440px;
}

.section.banner-carousel-wrapper.careers-page-banner .carousel-wrapper .panel-container .teaser.block>.background .front-picture {
Expand All @@ -741,7 +741,7 @@
}

.section.banner-carousel-wrapper.careers-page-banner .carousel-wrapper .carousel .panel-container .teaser {
min-height: 450px;
min-height: 440px;
}

.section.banner-carousel-wrapper.careers-page-banner .carousel-wrapper .panel-container .teaser.block>.background .front-picture img {
Expand Down Expand Up @@ -1048,7 +1048,7 @@
display: flex;
align-items: end;
justify-content: center;
min-height: 450px;
min-height: 440px;
}
}
/* ek lakh loan end */
36 changes: 15 additions & 21 deletions blocks/carousel/embed-banner-carousel.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* carousel Banner video comp start*/

.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background {
/* height: 440px; */
background-size: 100%;
background-position: top;
background-repeat: no-repeat;
Expand Down Expand Up @@ -62,15 +61,16 @@
.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background .foreground .text .long-description p.button-container a {
cursor: pointer;
font-size: 18px;
font-weight: 600;
font-weight: 700;
margin-right: 8px;
line-height: 30px;
padding: 16px 2.16rem;
padding: 14px;
border-radius: 8px;
color: var(--white);
font-family: 'Nunito-Semibold';
font-family: 'Nunito-Bold';
background-color: var(--orange);
margin: 0;
min-width: 159px;
}

.sectio .carousel-wrapper .teaser.blockn.video-component-carousel .background .foreground .text .long-description p.button-container a sub {
Expand Down Expand Up @@ -150,7 +150,6 @@

@media screen and (max-width: 1024px) {
.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background {
/* height: 398px; */
width: 100%;
background-size: 100% 100%;
object-fit: contain;
Expand All @@ -160,7 +159,6 @@
margin: 0px;
height: 390px;
max-width: unset;
padding: 0 16px;
}

.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background .foreground .text .long-description p:not(p.button-container) {
Expand All @@ -180,19 +178,25 @@
font-size: 14px;
font-weight: 700;
line-height: 28px;
padding: 6px 14px;
margin-bottom: 0px;
font-family: 'Nunito-Bold';
padding: 11px 10px;
line-height: 22px;
margin-bottom: 0px;
margin-right: 0;
min-width: 102px;
}

.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background .foreground .text .long-description p.button-container:last-child a.button {
margin-top: 17px;
.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background .foreground .text .long-description p.button-container {
margin-top: 1.5rem;
}

.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background .foreground .text {
align-items: end;
}
}

@media screen and (max-width: 767px) {
.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background {
/* height: 250px; */
object-fit: contain;
display: block;
background-position: top;
Expand Down Expand Up @@ -221,16 +225,6 @@
font-family: 'Nunito-Extrabold';
}

.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background .foreground .text .long-description p.button-container a,
.section.banner-carousel-wrapper.banner-video-carousel .carousel-wrapper .teaser.block.video-component-carousel .background .foreground .text .long-description p.button-container:last-child a.button {
margin-top: 0px;
font-size: 11px;
padding: 4px 5px;
line-height: 22px;
margin-bottom: 0px;
margin-right: 0;
}

.sectio .carousel-wrapper .teaser.blockn.video-component-carousel .background .foreground .text .long-description p.button-container a sub {
font-size: 11px;
line-height: 22px;
Expand Down
2 changes: 1 addition & 1 deletion blocks/embed/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const embedTwitter = (url) => {
const videoTag = (url) => {
// <source src="movie.ogg" type="video/ogg">
const videoHTML = `<div class="videotag">
<video width="320" height="240" controls autoplay>
<video controls autoplay>
<source src="${url.href}" type="video/mp4">
</video>
</div>`
Expand Down
2 changes: 1 addition & 1 deletion styles/details-verification/details-verification.css
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
}
}

@media screen and (max-width:768px) and (max-width:1024px) {
@media screen and (min-width:768px) and (max-width:1024px) {
.section.embed-text-center .embed-wrapper .embed>.videotag>video {
width: 100%;
height: 414px;
Expand Down

0 comments on commit 1017c80

Please sign in to comment.