Skip to content

Commit

Permalink
max width reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
santi-homps committed Feb 13, 2024
1 parent a98db23 commit 02127e5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion blocks/v2-media-with-content/v2-media-with-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ li.v2-media-with-content__list-item {
}

.redesign-v2 .section .v2-media-with-content-wrapper {
max-width: unset;
max-width: 1440px
}

.v2-media-with-content__content-wrapper {
Expand All @@ -83,11 +83,17 @@ li.v2-media-with-content__list-item {
gap: 90px;
}

.v2-media-with-content__column img {
width: 100%;
max-width: 800px;
}

.v2-media-with-content__column.column-with-text {
display: flex;
flex-direction: column;
justify-content: center;
width: calc(45% + 90px);
min-width: 350px;
}

.v2-media-with-content__content-wrapper .v2-media-with-content__column.column-with-text {
Expand All @@ -106,3 +112,14 @@ li.v2-media-with-content__list-item {
padding-bottom: 0;
}
}

@media (min-width: 1440px) {
.v2-media-with-content__content-wrapper .v2-media-with-content__column.column-with-text {
margin-right: 200px;
}

.v2-media-with-content__content-wrapper--image-right .v2-media-with-content__column.column-with-text {
margin-left: 200px;
margin-right: 0;
}
}

0 comments on commit 02127e5

Please sign in to comment.