From a5761bc2a961a8c91e5482d2e301191f617fe3d4 Mon Sep 17 00:00:00 2001
From: Sage Abdullah <sage.abdullah@torchbox.com>
Date: Fri, 15 Nov 2024 16:32:51 +0000
Subject: [PATCH] Improve spacing of page permissions table in Group settings
 (#12585)

---
 CHANGELOG.txt                                                 | 1 +
 docs/releases/6.3.1.md                                        | 1 +
 .../includes/collection_member_permissions_formset.html       | 4 ++--
 .../groups/includes/page_permissions_formset.html             | 4 ++--
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 85e7c483f6..1af9647793 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -55,6 +55,7 @@ Changelog
 
  * Fix: Restore ability to upload profile picture through account settings (Sage Abdullah)
  * Fix: Correctly handle `ImageChooserBlock` to `ImageBlock` data conversions where all inputs to `bulk_to_python` are null (Storm Heg, Matt Westcott)
+ * Fix: Improve spacing of page / collection permissions table in Group settings (Sage Abdullah)
 
 
 6.3 LTS (01.11.2024)
diff --git a/docs/releases/6.3.1.md b/docs/releases/6.3.1.md
index 7c8dbff749..f357f1102a 100644
--- a/docs/releases/6.3.1.md
+++ b/docs/releases/6.3.1.md
@@ -16,3 +16,4 @@ depth: 1
 
  * Restore ability to upload profile picture through account settings (Sage Abdullah)
  * Correctly handle `ImageChooserBlock` to `ImageBlock` data conversions where all inputs to `bulk_to_python` are null (Storm Heg, Matt Westcott)
+ * Improve spacing of page / collection permissions table in Group settings (Sage Abdullah)
diff --git a/wagtail/admin/templates/wagtailadmin/permissions/includes/collection_member_permissions_formset.html b/wagtail/admin/templates/wagtailadmin/permissions/includes/collection_member_permissions_formset.html
index 9e23fa5181..7a6ff9d46e 100644
--- a/wagtail/admin/templates/wagtailadmin/permissions/includes/collection_member_permissions_formset.html
+++ b/wagtail/admin/templates/wagtailadmin/permissions/includes/collection_member_permissions_formset.html
@@ -17,9 +17,9 @@
     <table class="listing">
         <col />
         {% for i in formset.permission_types %}
-            <col width="15%" />
+            <col width="5%" />
         {% endfor %}
-        <col />
+        <col width="10%" />
         <thead>
             <tr>
                 <th>{% trans "Collection" %}</th>
diff --git a/wagtail/users/templates/wagtailusers/groups/includes/page_permissions_formset.html b/wagtail/users/templates/wagtailusers/groups/includes/page_permissions_formset.html
index 9eb36c6a8f..f3cd114679 100644
--- a/wagtail/users/templates/wagtailusers/groups/includes/page_permissions_formset.html
+++ b/wagtail/users/templates/wagtailusers/groups/includes/page_permissions_formset.html
@@ -16,9 +16,9 @@
     <table class="listing">
         <col />
         {% for i in formset.permission_types %}
-            <col width="15%" />
+            <col width="5%" />
         {% endfor %}
-        <col />
+        <col width="10%" />
         <thead>
             <tr>
                 <th>{% trans "Page" %}</th>