Jelajahi Sumber

Add missing vertical space between header and content in embed chooser modal. Fix #9182 (#9186)

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
LB (Ben Johnston) 2 tahun lalu
induk
melakukan
28ffd95b14

+ 1 - 0
CHANGELOG.txt

@@ -39,6 +39,7 @@ Changelog
  * Fix: Add missing vertical spacing between chooser modal header and body when there are no tabs (LB (Ben) Johnston)
  * Fix: Reinstate specific labels for chooser buttons (for example 'Choose another page', 'Edit this page' not 'Change', 'Edit') so that it is clearer for users and non-English translations (Matt Westcott)
  * Fix: Resolve issue where searches with a tag and a query param in the image listing would result in an `FilterFieldError` (Stefan Hammer)
+ * Fix: Add missing vertical space between header and content in embed chooser modal (LB (Ben) Johnston)
 
 
 4.0.1 (05.09.2022)

+ 1 - 0
docs/releases/4.0.2.md

@@ -23,3 +23,4 @@ depth: 1
  * Add missing vertical spacing between chooser modal header and body when there are no tabs (LB (Ben) Johnston)
  * Reinstate specific labels for chooser buttons (for example 'Choose another page', 'Edit this page' not 'Change', 'Edit') so that it is clearer for users and non-English translations (Matt Westcott)
  * Resolve issue where searches with a tag and a query param in the image listing would result in an `FilterFieldError` (Stefan Hammer)
+ * Add missing vertical space between header and content in embed chooser modal (LB (Ben) Johnston)

+ 1 - 1
wagtail/embeds/templates/wagtailembeds/chooser/chooser.html

@@ -1,7 +1,7 @@
 {% load wagtailimages_tags wagtailadmin_tags %}
 {% load i18n %}
 {% trans "Insert embed" as ins_emb_str %}
-{% include "wagtailadmin/shared/header.html" with title=ins_emb_str merged=1 %}
+{% include "wagtailadmin/shared/header.html" with title=ins_emb_str %}
 
 <div class="tab-content">
     <section id="form" class="active nice-padding">