Skip to content

Commit 5d36f24

Browse files
committed
Make masterclasses linkable
1 parent f0032e2 commit 5d36f24

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

masterclasses.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ You’re not alone. Need to streamline your workflows? We’ll be there in no ti
138138
contain: layout paint;
139139
}
140140

141-
.c-tile:has(details[open]) {
141+
.c-tile:has(details[open]),
142+
.c-tile:target {
142143
border-color: #f43059;
143144
}
144145

@@ -213,7 +214,7 @@ You’re not alone. Need to streamline your workflows? We’ll be there in no ti
213214
<ul class="c-tiles-list" id="jsMasterclassList">
214215

215216
{% for masterclass in page.masterclasses %}
216-
<li class="c-tile jsMasterclassItem">
217+
<li class="c-tile jsMasterclassItem" id="masterclass-{{ masterclass.image }}">
217218
<div class="c-tile__hero">
218219
<img src="{{ site.cloudinary }}/img/content/masterclass/{{ masterclass.image }}.jpg" alt class="c-tile__image" width="960" height="549" loading="lazy">
219220
</div>

0 commit comments

Comments
 (0)