Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ a:hover {
box-shadow: var(--shadow-cyber);
overflow: hidden;
}
#toolsGrid p {
.tools-grid p {
color: var(--primary-text);
}

Expand Down
15 changes: 15 additions & 0 deletions js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,21 @@ class AdvancedSearch {

toolsGrid.innerHTML = toolCards;

// Manually trigger the animation for the new cards since they are dynamically added
const newToolCards = toolsGrid.querySelectorAll('.tool-card');
newToolCards.forEach(card => {
// A small delay to ensure the browser registers the elements before adding the class
setTimeout(() => {
card.classList.add('visible');
}, 10);
});

// Remove existing search header to prevent duplicates
const existingHeader = document.querySelector('.search-results-header');
if (existingHeader) {
existingHeader.remove();
}

// Add search results header
const searchHeader = `
<div class="search-results-header">
Expand Down