Skip to content

Commit a7bfc23

Browse files
committed
letting related widget to grow at width fix issue #70
1 parent 28b3b8c commit a7bfc23

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

django_daisy/templates/admin/widgets/related_widget_wrapper.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{% load i18n static %}
2-
<div class="related-widget-wrapper flex flex-row max-sm:flex-wrap justify-start gap-1 w-full max-w-sm"
2+
{#<div class="related-widget-wrapper flex flex-row max-sm:flex-wrap justify-start gap-1 w-full max-w-sm"#}
3+
<div class="related-widget-wrapper flex flex-row max-sm:flex-wrap justify-start gap-1 w-full"
34
{% if not model_has_limit_choices_to %}data-model-ref="{{ model }}"{% endif %}>
4-
<div class="rounded-md flex w-full max-xl:max-w-lg max-lg:max-w-md max-sm:max-w-xs ">
5+
{# <div class="rounded-md flex w-full max-xl:max-w-lg max-lg:max-w-md max-sm:max-w-xs ">#}
6+
<div class="rounded-md flex w-full ">
57
{{ rendered_widget }}
68
</div>
79
<!-- Dropdown for links -->

0 commit comments

Comments
 (0)