diff --git a/smartsoltech/web/templates/web/service_detail.html b/smartsoltech/web/templates/web/service_detail.html index 6753696..e4dada6 100644 --- a/smartsoltech/web/templates/web/service_detail.html +++ b/smartsoltech/web/templates/web/service_detail.html @@ -47,7 +47,7 @@ {{ service.category.name }}
{{ service.description }}
+{{ service.description|striptags }}
{{ project.short_description|truncatewords:15 }}
+{{ project.short_description|striptags|truncatewords:15 }}
{% else %}{{ project.description|striptags|truncatewords:15 }}
{% endif %} @@ -689,5 +689,102 @@ document.addEventListener('DOMContentLoaded', function() { font-size: 1rem; } } + +/* Исправление кликабельности кнопок */ +.service-info { + position: relative; + z-index: 100; +} + +.service-info .btn, +.service-info .d-flex { + position: relative; + z-index: 101; + pointer-events: auto; +} + +.btn:hover { + pointer-events: auto !important; + cursor: pointer !important; +} + +/* Убираем возможные перекрывающие псевдоэлементы */ +*::before, +*::after { + pointer-events: none; +} + +/* Обеспечиваем кликабельность всех интерактивных элементов */ +button, +a, +input, +select, +textarea { + pointer-events: auto !important; + position: relative; + z-index: 10; +} + + + {% endblock %}