Skip to content

Commit

Permalink
fix(events): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DharmapalP committed Dec 16, 2024
1 parent b6f7ee8 commit 8b3e290
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blocks/events/events.css
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
border: none;
box-shadow: 0 0 14px 0 rgba(0 0 0 / 25%);
left: 0;
padding: 18px var(--spacing-small);
padding: 18px var(--spacing-xxsmall);
position: fixed;
top: 116px;
z-index: 1;
Expand Down
3 changes: 2 additions & 1 deletion blocks/events/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ ${
featuredEventData.eventType !== '' || featuredEventData.eventTitle !== '' || featuredEventData.eventDate !== ''
? `<div class="event-details">
${featuredEventData.eventType !== '' ? renderArticleCategory(featuredEventData) : ''}
${featuredEventData.eventTitle !== '' ? `<p class="event-info"><b>${featuredEventData.eventTitle} </b></p>` : ''}
${featuredEventData.eventTitle !== '' ? `<p class="event-info"><h3>${featuredEventData.eventTitle} </h3></p>` : ''}
</div>`
: ''
Expand Down Expand Up @@ -607,6 +607,7 @@ ${
}

currentSortedEvents = articleJson;
currentEvenData = currentSortedEvents;

if (articleJson.length === 0) {
EventsContainer.innerHTML = `
Expand Down

0 comments on commit 8b3e290

Please sign in to comment.