Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 8 additions & 24 deletions src/shared/components/Contentful/Article/themes/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,10 @@
margin-bottom: 300px;
}

@media screen and (max-width: 425px) {
margin-bottom: 180px;
}

.bannerInner {
display: flex;
max-width: 1280px;
Expand Down Expand Up @@ -569,24 +573,6 @@
position: absolute;
width: 0;
height: 0;

/* stylelint-disable */
> clippath {
transform: translate(445px, 0) scaleX(-1);

@media screen and (max-width: 425px) and (min-width: 375px) {
transform: translate(380px, 0) scaleX(-1);
}

@media screen and (max-width: 375px) and (min-width: 320px) {
transform: translate(330px, 0) scaleX(-1);
}

@media screen and (max-width: 320px) {
transform: translate(275px, 0) scaleX(-1);
}
}
/* stylelint-enable */
}

.bannerClippedImageHolder {
Expand All @@ -596,6 +582,10 @@
background-position: center center;
-webkit-clip-path: url(#thrive-banner-clip-path);
clip-path: url(#thrive-banner-clip-path);

@media screen and (max-width: 425px) {
height: 270px;
}
}
}
}
Expand All @@ -609,12 +599,6 @@
}
}

.bannerContainerDefaultImage {
@media screen and (max-width: 425px) {
margin-bottom: 180px;
}
}

.recommendedContainer {
margin-top: 65px;
background-color: #f4f4f4;
Expand Down