Skip to content

Commit 44f88b1

Browse files
authored
fix: compressed fields label width (#1152)
1 parent 9ccc79b commit 44f88b1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/unfold/static/unfold/css/styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/unfold/templates/unfold/helpers/fieldset_row_checkbox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% if adminform.model_admin.compressed_fields %}
22
<div class="flex flex-col gap-4 py-2 lg:flex-row">
3-
<div class="font-medium flex items-start -ml-2 min-w-32 w-32 lg:min-w-48 lg:w-48">
3+
<div class="font-medium flex items-start -ml-2 min-w-32 w-32 lg:min-w-56 lg:w-56">
44
{{ field.label_tag }}
55
</div>
66

src/unfold/templates/unfold/helpers/fieldset_row_field.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="{% if adminform.model_admin.compressed_fields %}lg:min-w-48 lg:mt-2 lg:w-48{% endif %}">
1+
<div class="{% if adminform.model_admin.compressed_fields %}lg:min-w-56 lg:mt-2 lg:w-56{% endif %}">
22
{{ field.label_tag }}
33
</div>
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<div class="flex flex-col max-w-2xl min-w-48 relative w-full">
1+
<div class="flex flex-col max-w-2xl min-w-56 relative w-full">
22
{% include "django/forms/widgets/input.html" %}
33
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<div class="flex flex-col max-w-2xl min-w-48 relative w-full">
1+
<div class="flex flex-col max-w-2xl min-w-56 relative w-full">
22
{% include "django/forms/widgets/input.html" %}
33
</div>

0 commit comments

Comments
 (0)