1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 07:47:00 +02:00

Fix issue where Lister wasn't 100% width in AdminThemeDefault or AdminThemeReno. Note that we had to disable the resizable columns in default/reno admin themes to fix it, as the current version of jquery-tablesorter-resizable doesn't seem to allow for full width tables unless you drag it to be full width.

This commit is contained in:
Ryan Cramer
2023-09-04 11:02:46 -04:00
parent 002c2d15db
commit b824f645a9

View File

@@ -1297,6 +1297,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
$sanitizer = $this->wire()->sanitizer;
$modules = $this->wire()->modules;
$fields = $this->wire()->fields;
$adminTheme = $this->wire()->adminTheme;
/** @var Languages $languages */
$columns = $this->sessionGet('columns');
@@ -1307,7 +1308,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
/** @var MarkupAdminDataTable $table */
$table = $modules->get('MarkupAdminDataTable');
$table->setSortable(false);
$table->setResizable(true);
$table->setResizable(wireInstanceOf($adminTheme, 'AdminThemeUikit')); // non-100% width error w/default+reno themes
$table->setResponsive($this->responsiveTable);
$table->setClass('ProcessListerTable');
$table->setEncodeEntities(false);