Skip to content

Commit 44e00f1

Browse files
committed
v0.5.12: Fix HTMX indicator CSS - use opacity for visibility
1 parent dd77481 commit 44e00f1

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

django_forms_workflows/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Enterprise-grade, database-driven form builder with approval workflows
44
"""
55

6-
__version__ = "0.5.11"
6+
__version__ = "0.5.12"
77
__author__ = "Django Forms Workflows Contributors"
88
__license__ = "LGPL-3.0-only"
99

django_forms_workflows/templates/django_forms_workflows/approve.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ <h5 class="mb-0">Your Decision</h5>
102102

103103
{% block extra_css %}
104104
<style>
105-
.htmx-indicator { display: none; }
106-
.htmx-request .htmx-indicator { display: inline-block; }
107-
.htmx-request button[type=submit] { opacity: 0.6; }
105+
.htmx-indicator { opacity: 0; transition: opacity 200ms ease-in; }
106+
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }
107+
form.htmx-request button[type=submit] { opacity: 0.6; pointer-events: none; }
108108
</style>
109109
{% endblock %}
110110

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-forms-workflows"
3-
version = "0.5.11"
3+
version = "0.5.12"
44
description = "Enterprise-grade, database-driven form builder with approval workflows and external data integration"
55
license = "LGPL-3.0-only"
66
readme = "README.md"

0 commit comments

Comments
 (0)