From 2479406d3da3d49926693eca9463525ec71510af Mon Sep 17 00:00:00 2001 From: "Andrey K. Choi" Date: Wed, 26 Nov 2025 21:14:24 +0900 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20HTML=20=D1=82=D0=B5=D0=B3=D0=B8=20=D0=B2?= =?UTF-8?q?=20=D1=81=D0=B5=D1=80=D0=B2=D0=B8=D1=81=D0=B0=D1=85=20=D0=B8=20?= =?UTF-8?q?=D0=B2=D0=BE=D1=81=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BA=D0=BB=D0=B8=D0=BA=D0=B0=D0=B1=D0=B5?= =?UTF-8?q?=D0=BB=D1=8C=D0=BD=D0=BE=D1=81=D1=82=D1=8C=20=D0=BA=D0=BD=D0=BE?= =?UTF-8?q?=D0=BF=D0=BE=D0=BA=20=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=86=D0=B5=20=D0=B4=D0=B5=D1=82=D0=B0=D0=BB=D0=B5?= =?UTF-8?q?=D0=B9=20=D1=81=D0=B5=D1=80=D0=B2=D0=B8=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/templates/web/service_detail.html | 101 +++++++++++++++++- 1 file changed, 99 insertions(+), 2 deletions(-) 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.name }}

-

{{ service.description }}

+

{{ service.description|striptags }}

@@ -252,7 +252,7 @@
{{ project.name }}
{% if project.short_description %} -

{{ 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 %}