File tree 4 files changed +12
-6
lines changed 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ <h2 id="{{ inline_admin_formset.formset.prefix }}-heading" class="inline-heading
17
17
{{ inline_admin_formset.formset.management_form }}
18
18
{% include "unfold/helpers/messages/error.html" with errors=inline_admin_formset.formset.non_form_errors %}
19
19
20
- < div class ="border border-base-200 mb-6 overflow-hidden rounded-default shadow-xs w-full dark:border-base-800 *:border-t *: first:border-t-0 *:border-base-200 dark:*:border-base-800 "
20
+ < div class ="border border-base-200 mb-6 overflow-hidden rounded-default shadow-xs w-full dark:border-base-800 *:border-t first-of-type :border-t-0 *:border-base-200 dark:*:border-base-800 "
21
21
{% if inline_admin_formset.opts.ordering_field %}
22
22
data-ordering-field ="{{ inline_admin_formset.opts.ordering_field }} " x-on:end ="sortRecords " x-sort.ghost
23
23
{% endif %} >
Original file line number Diff line number Diff line change 2
2
3
3
< fieldset class ="module{% if fieldset.classes %} {{ fieldset.classes }}{% endif %} " {% if stacked ! = 1 %}x-show ="activeTab == 'general' "{% endif %} >
4
4
{% if fieldset.name and "tab" not in fieldset.classes %}
5
- < h2 class ="bg-base-100 font-semibold mb-6 px-4 py-3 rounded-default text-font-important-light text-sm 2xl:-mx-4 dark:bg-white/[.02] dark:text-font-important-dark ">
6
- {{ fieldset.name }}
7
- </ h2 >
5
+ {% if stacked == 1 %}
6
+ < h2 class ="bg-base-50 border-b border-base-200 border-t border-dashed font-semibold text-font-important-light px-3 py-2 dark:text-font-important-dark dark:bg-white/[.02] dark:border-base-800 ">
7
+ {{ fieldset.name }}
8
+ </ h2 >
9
+ {% else %}
10
+ < h2 class ="bg-base-100 font-semibold mb-6 px-4 py-3 rounded-default text-font-important-light text-sm 2xl:-mx-4 dark:bg-white/[.02] dark:text-font-important-dark ">
11
+ {{ fieldset.name }}
12
+ </ h2 >
13
+ {% endif %}
8
14
{% endif %}
9
15
10
16
{% if fieldset.description %}
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ <h1 class="font-semibold mb-10">
63
63
{% url 'admin_password_reset' as password_reset_url %}
64
64
65
65
< div class ="submit-row ">
66
- < button type ="submit " class ="bg-primary-600 border border-transparent flex flex-row font-semibold group items-center justify-center py-2 rounded-default text-sm text-white w-full ">
66
+ < button type ="submit " class ="bg-primary-600 border border-transparent cursor-pointer flex flex-row font-semibold group items-center justify-center py-2 rounded-default text-sm text-white w-full ">
67
67
{% translate 'Log in' %}
68
68
69
69
< span class ="material-symbols-outlined ml-2 relative right-0 text-base transition-all group-hover:-right-1 "> arrow_forward</ span >
You can’t perform that action at this time.
0 commit comments