Skip to content

Commit

Permalink
Merge pull request #67 from Netcentric/53-testimonial-media-order
Browse files Browse the repository at this point in the history
53 testimonial media order
  • Loading branch information
Lakshmishri authored Sep 1, 2023
2 parents 6564c0b + dd5c947 commit 7021757
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions blocks/v2-testimonial/v2-testimonial.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@
}

.v2-testimonial__text-row {
order: 1;
order: 2;
}

.v2-testimonial__image-row {
order: 2;
order: 1;
}

@media (min-width: 1200px) {
Expand Down Expand Up @@ -133,28 +133,28 @@
padding: 20px 40px;
}

.v2-testimonial__overlap .v2-testimonial__image-row,
.v2-testimonial__overlap .v2-testimonial__text-row {
.v2-testimonial--overlap .v2-testimonial__image-row,
.v2-testimonial--overlap .v2-testimonial__text-row {
width: calc(50% + 80px);
}

.v2-testimonial__media-left {
.v2-testimonial--media-left {
display: flex;
justify-content: flex-end;
flex-direction: row;
}

.v2-testimonial__media-left .v2-testimonial__image-row {
.v2-testimonial--media-left .v2-testimonial__image-row {
left: 0;
right: unset;
}

.v2-testimonial__media-right {
.v2-testimonial--media-right {
display: flex;
justify-content: flex-start;
}

.v2-testimonial__media-right .v2-testimonial__image-row {
.v2-testimonial--media-right .v2-testimonial__image-row {
left: unset;
right: 0;
}
Expand Down

0 comments on commit 7021757

Please sign in to comment.