File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -526,7 +526,7 @@ const formattedContentTitle = `Courses | Chainlink Certifications`
526526 }
527527
528528 .course-card_h {
529- color: #1a2b6b ;
529+ color: var(--biscay) ;
530530 width: 325.33px;
531531 margin-top: 0;
532532 margin-bottom: 10px;
@@ -536,7 +536,7 @@ const formattedContentTitle = `Courses | Chainlink Certifications`
536536 }
537537
538538 .course-card__details {
539- color: #0c162c ;
539+ color: var(--mirage) ;
540540 flex-flow: wrap;
541541 justify-content: flex-start;
542542 align-items: center;
@@ -923,9 +923,10 @@ const formattedContentTitle = `Courses | Chainlink Certifications`
923923 item.addEventListener("click", function () {
924924 // Apply z-index and transform based on the clicked index
925925 absoluteItems.forEach((el, i) => {
926+ const htmlEl = el as HTMLElement
926927 const newIndex = (i - index + absoluteItems.length) % absoluteItems.length
927- el .style.zIndex = zIndexValues[newIndex]
928- el .style.transform = transformValues[newIndex]
928+ htmlEl .style.zIndex = zIndexValues[newIndex].toString()
929+ htmlEl .style.transform = transformValues[newIndex]
929930 })
930931 })
931932 })
You can’t perform that action at this time.
0 commit comments