Card #' + this.dataset.cardIndex + ' from exported board
'; modal.appendChild(content); modal.style.display = 'block'; document.body.style.overflow = 'hidden'; console.log('Showing card details for card ' + this.dataset.cardIndex); }); }); // Add style for cards if (!document.getElementById('card-open-styles')) { const style = document.createElement('style'); style.id = 'card-open-styles'; style.textContent = '* { font-family: sans-serif !important; } body { font-family: sans-serif !important; } .minicard { transition: all 0.3s ease; cursor: pointer; } .minicard:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important; transform: translateY(-2px); }'; document.head.appendChild(style); console.log('Added card styles and sans-serif font'); } }); `; // Inject script before closing body tag htmlString = htmlString.replace( /<\/body>/i, `