Skip to content

Commit 2fa755d

Browse files
fix(border rendering)
1 parent 028d393 commit 2fa755d

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

sass/components/_schedule.scss

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,12 @@ section#day2 {
248248

249249
.schedule__side-track {
250250
padding-left: 0;
251+
}
251252

252-
/* Remove if number of workshops = number of side activities on Workshop Day */
253-
.schedule__list {
254-
li:nth-last-child(2), li:last-child {
255-
display: none;
256-
257-
.activity-card {
258-
border-bottom: none;
259-
}
253+
.schedule__list {
254+
li:last-child {
255+
.activity-card {
256+
border-bottom: none;
260257
}
261258
}
262259
}
@@ -279,6 +276,15 @@ section#day2 {
279276
.activity-card__image {
280277
margin-bottom: .25rem;
281278
}
279+
280+
@media (max-width: 60rem) {
281+
/* Remove if number of workshops = number of side activities on Workshop Day */
282+
.schedule__list {
283+
li:nth-last-child(2), li:last-child {
284+
display: none;
285+
}
286+
}
287+
}
282288
}
283289

284290
#day1, #day2 {

0 commit comments

Comments
 (0)