Skip to content

Commit 7a40907

Browse files
committed
fix s342
1 parent f04300b commit 7a40907

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/shared/components/Contentful/ArticleCard/themes/article_large.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
@include xs-to-sm {
1313
margin: 5px;
1414
}
15+
16+
@media screen and (max-width: 425px) {
17+
max-height: none;
18+
}
1519
}
1620

1721
.contentWrapper {
@@ -23,6 +27,10 @@
2327
display: flex;
2428
flex-direction: row;
2529
align-items: stretch;
30+
31+
@media screen and (max-width: 425px) {
32+
flex-direction: column;
33+
}
2634
}
2735

2836
.main {
@@ -225,6 +233,11 @@
225233
min-width: 150px;
226234
}
227235

236+
@media screen and (max-width: 425px) {
237+
width: 100%;
238+
min-height: 130px;
239+
}
240+
228241
&::before {
229242
content: '';
230243
width: 35px;
@@ -234,5 +247,12 @@
234247
background-size: cover;
235248
background-position: right -2px;
236249
position: absolute;
250+
251+
@media screen and (max-width: 425px) {
252+
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 290 31.73' style='enable-background:new 0 0 290 31.73;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill-rule:evenodd;clip-rule:evenodd;fill:%23F4F4F4;%7D%0A%3C/style%3E%3Cg id='Thrive'%3E%3Cg id='Artboard' transform='translate(-22.000000, -20.000000)'%3E%3Cg id='Combined-Shape'%3E%3Cpath class='st0' d='M22,20h290l0,24.11c-60.39,13.64-90.73-0.4-142.15-10.48C118.1,23.5,97,79,22.08,33.64l0,0l0,1.34'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
253+
width: 100%;
254+
height: 33px;
255+
background-position: 0 -10px;
256+
}
237257
}
238258
}

0 commit comments

Comments
 (0)