Unwanted left column padding in listings with chooser modals
lb- opened this issue · comments
LB (Ben Johnston) commented
Issue Summary
Chooser listings appear to have an unwanted padding.
Steps to Reproduce
- Open any page editor where the page model has RichText enabled
- Navigate to the RichText field
- Select to add a link
- Observe in the chooser modal that there is a large amount of additional padding on the left column
- Expected: This padding should not be there.
- I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (no)
Technical details
- Wagtail version: 6.1a
- See file
client/scss/components/_listing.scss
, somewhere around the lines indicated below - This nested usage of not/has is overly complex and may need to be reviewed across all usage of listings
- Possibly from this commit 81ea6d6 / #11332
wagtail/client/scss/components/_listing.scss
Lines 612 to 626 in bded2cb
Working on this
Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.
Be sure to fully understand the impact of any changes here with nested usage of not
has
and other selectors, plus the listings are used within modals and outside of modals.