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

Locked Profields Table overflows from page (missing class uk-overflow-auto)

Open hiboudev opened this issue 2 years ago • 1 comments

Short description of the issue

Profields Table with many fields overflows from page when locked.

Expected behavior

Scrollbar on table or any other solution.

Screenshots/Links that demonstrate the issue

image

Suggestion for a possible fix

Add uk-overflow-auto class to table parent div.

hiboudev avatar Nov 20 '23 23:11 hiboudev

Unfortunately, this behavior has been really annoying for a long time. I asked in the forum today and would like to follow up on member da²'s friendly advice. So it would be nice if it could be fixed in the following place:

Line 117 in file: AdminThemeUikit.module, this line would only need to be extended by a class for it to work fine (tested successfully, locally): 'table' => 'uk-table uk-table-divider uk-table-justify uk-table-small uk-table-responsive',

Thanks in advance, Ryan!

However, it should be noted that the table header is hidden with this setting, on devices lower than "Medium" viewport. Maybe this can be solved ..

Onse avatar Mar 08 '24 16:03 Onse