Browse Source

Reduce confusing spacing below StreamField blocks help text. Fix #11888 (#11934)

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Rishabh Sharma 2 months ago
parent
commit
782aa0e16b

+ 3 - 1
CHANGELOG.txt

@@ -4,7 +4,8 @@ Changelog
 6.3.3 (xx.xx.xxxx) - IN DEVELOPMENT
 ~~~~~~~~~~~~~~~~~~
 
-* Correctly place comment buttons next to date / datetime / time fields. (Srishti Jaiswal)
+* Fix: Correctly place comment buttons next to date / datetime / time fields. (Srishti Jaiswal)
+* Fix: Reduce confusing spacing below StreamField blocks help text (Rishabh Sharma)
 
 6.4 (xx.xx.xxxx) - IN DEVELOPMENT
 ~~~~~~~~~~~~~~~~
@@ -55,6 +56,7 @@ Changelog
  * Fix: Improve deprecation warning for `WidgetWithScript` by raising it with `stacklevel=3` (Joren Hammudoglu)
  * Fix: Correctly place comment buttons next to date / datetime / time fields. (Srishti Jaiswal)
  * Fix: Add missing heading and breadcrumbs in Account view (Sage Abdullah)
+ * Fix: Reduce confusing spacing below StreamField blocks help text (Rishabh Sharma)
  * Docs: Move the model reference page from reference/pages to the references section as it covers all Wagtail core models (Srishti Jaiswal)
  * Docs: Move the panels reference page from references/pages to the references section as panels are available for any model editing, merge panels API into this page (Srishti Jaiswal)
  * Docs: Move the tags documentation to standalone advanced topic, instead of being inside the reference/pages section (Srishti Jaiswal)

+ 1 - 0
CONTRIBUTORS.md

@@ -865,6 +865,7 @@
 * James Harrington
 * Unyime Emmanuel Udoh
 * Joren Hammudoglu
+* Rishabh Sharma
 
 ## Translators
 

+ 1 - 1
client/src/components/StreamField/StreamField.scss

@@ -15,5 +15,5 @@
 .c-sf-help .help {
   // StreamField block help text is above the blocks rather than below.
   margin-top: 0;
-  margin-bottom: theme('spacing.6');
+  margin-bottom: theme('spacing.4');
 }

+ 1 - 0
docs/releases/6.3.3.md

@@ -15,6 +15,7 @@ depth: 1
 ### Bug fixes
 
  * Correctly place comment buttons next to date / datetime / time fields. (Srishti Jaiswal)
+ * Reduce confusing spacing below StreamField blocks help text (Rishabh Sharma)
 
 ### Documentation
 

+ 1 - 0
docs/releases/6.4.md

@@ -63,6 +63,7 @@ depth: 1
  * Correctly place comment buttons next to date / datetime / time fields. (Srishti Jaiswal)
  * Add missing `FilterField("created_at")` to `AbstractDocument` to fix ordering by `created_at` after searching in the documents index view (Srishti Jaiswal)
  * Add missing heading and breadcrumbs in Account view (Sage Abdullah)
+ * Reduce confusing spacing below StreamField blocks help text (Rishabh Sharma)
 
 ### Documentation