File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 110110 flex : 1 0 auto;
111111 align-self : center;
112112 position : relative;
113+ border-radius : var (--border-radius-s );
114+ overflow : hidden;
115+ }
116+
117+ .post-card__thumbnail img {
118+ width : 160px ;
119+ height : auto;
113120}
114121
115122.post-card__play-icon {
153160 .post-content__filter_column {
154161 margin-bottom : var (--space-xl );
155162 }
163+
164+ .post-card__row {
165+ flex-direction : column;
166+ }
167+
168+ .post-card__thumbnail {
169+ width : 100% ;
170+ }
171+
172+ .post-card__thumbnail img {
173+ width : 100% ;
174+ }
175+
176+ .post-card__play-icon {
177+ height : 32px ;
178+ width : 32px ;
179+ }
180+ }
181+
182+
183+ @media (max-width : 1279px ) {
184+ .post-card__thumbnail {
185+ align-self : flex-start;
186+ }
156187}
157188
158189
Original file line number Diff line number Diff line change 4040 </ div >
4141 {% if item.video_thumbnail %}
4242 < a class ="post-card__thumbnail " href ="{{ item.get_absolute_url }} ">
43- {% image item.video_thumbnail fill-180x100 %}
43+ {% image item.video_thumbnail fill-360x200 %}
4444 < div class ="post-card__play-icon ">
4545 {% include "includes/icon.html" with icon_name="play_button" icon_size=16 only %}
4646 </ div >
4747 </ a >
48+ {% elif item.image %}
49+ < a class ="post-card__thumbnail " href ="{{ item.get_absolute_url }} ">
50+ < img src ="{{item.image.url}} " />
51+ </ a >
4852 {% endif %}
4953 </ div >
5054 </ article >
You can’t perform that action at this time.
0 commit comments