This commit is contained in:
zakhy 2024-12-25 09:07:33 +07:00
parent 5703e636a1
commit 508d13c236

View File

@ -167,7 +167,7 @@ function truncateText(text, wordLimit) {
// Создаем элемент <h4> для текста
const serviceTitle = document.createElement('h4');
serviceTitle.textContent = service.name;
serviceTitle.style.marginBottom = '0'
// Вкладываем заголовок внутрь ссылки
link.appendChild(serviceTitle);