processwire-issues icon indicating copy to clipboard operation
processwire-issues copied to clipboard

ProcessPageLister CSS causes unwanted scrollbar

Open Toutouwai opened this issue 1 year ago • 0 comments

Short description of the issue

I'm using ListerPro here as a convenient way of adding modal editing to pages in Lister, but the problem is with CSS in the core ProcessPageLister.

I have filters set to show pages where there is 1 item in the image field.

2024-09-19_133136

I open one of the pages for modal editing and delete the image, so the page no longer matches the filter and automatically drops out of the Lister results. This causes an unnecessary and unwanted scrollbar in the results table.

2024-09-19_133205

This is caused by this rule in the ProcessPageLister CSS.

No overflow rule should be needed for this div, as by default it will expand and contract to fit its contents. Removing the overflow rule fixes the problem.

Setup/Environment

  • ProcessWire version: 3.0.241

Toutouwai avatar Sep 19 '24 01:09 Toutouwai