Skip to content

Commit

Permalink
Merge pull request #1264 from hlxsites/home-changes
Browse files Browse the repository at this point in the history
home carousel
  • Loading branch information
dev-rajneeshkumar authored Nov 2, 2023
2 parents 17e18a5 + a5057da commit a33a5c0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion blocks/carousel/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ main .carousel-dot-button.selected {
}

main .carousel-item-text .button-container {
margin-top: 30px;
margin-top: 20px;
margin-bottom: 0;
max-width: 100%;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* stylelint-disable no-descending-specificity */
main .section.columns-2 .featured-products-carousel-wrapper.mini {
display: flex;
flex-wrap: wrap;
Expand Down Expand Up @@ -111,6 +112,14 @@ main .featured-products-carousel-wrapper.mini .carousel-nav-right {
order: 3;
}

main .featured-products-carousel .carousel-item-text .button-container {
display: block;
}

main .featured-products-carousel .carousel-item-text .button-container .secondary {
margin-left: 0;
}

@media only screen and (max-width: 991px) {
main .section.columns-2 .featured-products-carousel-wrapper.mini {
width: 80vw;
Expand Down
20 changes: 5 additions & 15 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2103,19 +2103,9 @@ main .columns-separator-line .columns-wrapper .columns {
padding-top: 0;
}

.application-note main .picture img {
display: block;
margin: auto;
}

.image-position-right img {
object-position: right;
}

.image-position-left img {
object-position: left;
}

.image-position-center img {
object-position: center;
/* title with green highlight */
.title-with-green-highlight h2:first-child em,
.title-with-green-highlight h3:first-child em {
font-style: normal;
color: var(--text-green);
}

0 comments on commit a33a5c0

Please sign in to comment.