Skip to content

Commit 83e2fc2

Browse files
authored
Adjust column with on wagtailadmin form listings to make project form… (#4724)
Also adjust a subheading size
1 parent e367bba commit 83e2fc2

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

hypha/apply/projects/templates/application_projects/project_approval_form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="my-4 layout layout-sidebar-end layout-flowrow-until-md layout-sidebar-flowrow-end">
1717
<article class="layout-main">
1818
{% if approval_form_exists %}
19-
<h2 class="pb-1 font-semibold border-b text-h3">{% trans "Project form" %}</h2>
19+
<h2 class="pb-1 font-semibold border-b text-h2">{% trans "Project form" %}</h2>
2020
<form
2121
class="max-w-3xl grow form application-form"
2222
action=""

hypha/core/wagtail_hooks.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from django.templatetags.static import static
2+
from django.utils.html import format_html
3+
from wagtail import hooks
4+
5+
6+
@hooks.register("insert_global_admin_css")
7+
def global_admin_css():
8+
return format_html(
9+
'<link rel="stylesheet" href="{}">', static("css/wagtail_global_admin.css")
10+
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* Make title column in wagtail admin listing views have a min-width. */
2+
.listing .title {
3+
min-width: 20vw;
4+
}

0 commit comments

Comments
 (0)