Skip to content

Commit 8712d87

Browse files
authored
fix: url field design (#832)
1 parent 1545e0c commit 8712d87

File tree

1 file changed

+7
-5
lines changed
  • src/unfold/templates/unfold/widgets

1 file changed

+7
-5
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
<div class="flex flex-row gap-2 items-center">
2-
{% include "django/forms/widgets/input.html" %}
1+
<div class="flex flex-col gap-2">
2+
{% include "django/forms/widgets/input.html" %}
33

4-
{% if url_valid %}
5-
{{ current_label }} <a href="{{ widget.href }}" class="text-primary-600 dark:text-primary-500">{{ widget.value }}</a>
6-
{% endif %}
4+
{% if url_valid %}
5+
<p class="text-xs">
6+
{{ current_label }} <a href="{{ widget.href }}" class="text-primary-600 dark:text-primary-500">{{ widget.value }}</a>
7+
</p>
8+
{% endif %}
79
</div>

0 commit comments

Comments
 (0)