0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 01:22:07 +01:00

Remove extraneous padding in chooser modal listings

Fixes #11704
This commit is contained in:
Sage Abdullah 2024-02-29 12:15:50 +00:00 committed by LB (Ben Johnston)
parent a7a09f7348
commit a106a3e805
3 changed files with 11 additions and 3 deletions

View File

@ -20,6 +20,7 @@ Changelog
* Fix: Ensure re-ordering buttons work correctly when using a nested InlinePanel (Adrien Hamraoui)
* Fix: Consistently remove model's `verbose_name` in group edit view when listing custom permissions (Sage Abdullah, Neeraj Yetheendran, Omkar Jadhav)
* Fix: Resolve issue local development of docs when running `make livehtml` (Sage Abdullah)
* Fix: Resolve issue with unwanted padding in chooser modal listings (Sage Abdullah)
* Docs: Add contributing development documentation on how to work with a fork of Wagtail (Nix Asteri, Dan Braghis)
* Docs: Make sure the settings panel is listed in tabbed interface examples (Tibor Leupold)
* Docs: Update content and page names to their US spelling instead of UK spelling (Victoria Poromon)

View File

@ -635,9 +635,15 @@ table.listing {
}
}
// If no bulk actions are present, and nice padding is not applied,
// apply the same 80px padding via the first column's left padding.
&:not(.nice-padding &, .report &):not(
// If either:
// - no nice padding is applied,
// - we're not in a report listing,
// - we're not in the editor view,
// and:
// - no bulk actions are present,
// - we're not in the "custom ordering" mode,
// then apply the same 80px padding via the first column's left padding.
&:not(.nice-padding &, .report &, .editor-view &):not(
:has(.bulk-actions-filter-checkbox, .ord)
) {
th:first-child,

View File

@ -33,6 +33,7 @@ depth: 1
* Ensure re-ordering buttons work correctly when using a nested InlinePanel (Adrien Hamraoui)
* Consistently remove model's `verbose_name` in group edit view when listing custom permissions (Sage Abdullah, Neeraj Yetheendran, Omkar Jadhav)
* Resolve issue local development of docs when running `make livehtml` (Sage Abdullah)
* Resolve issue with unwanted padding in chooser modal listings (Sage Abdullah)
### Documentation