From aa692f3c9fabc5b9cb9cf66e65684bff2a76ced2 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Oct 2026 14:13:38 +0800 Subject: [PATCH] fix(widgets): drop 520px control width so expanded widgets stay in the sidebar column WP core widgets.js applies a negative margin-left to widgets whose control width exceeds 250px, pushing the form over the available widgets list. Use the default width like the reference theme. Co-Authored-By: Claude Fable 5 --- src/WidgetSystem/SchemaWidget.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/WidgetSystem/SchemaWidget.php b/src/WidgetSystem/SchemaWidget.php index 9c101184..cc3f5951 100644 --- a/src/WidgetSystem/SchemaWidget.php +++ b/src/WidgetSystem/SchemaWidget.php @@ -19,8 +19,7 @@ final class SchemaWidget extends \WP_Widget { 'classname' => 'aksrt-schema-widget aksrt-schema-widget--' . $definition->slug(), 'description' => $definition->description(), 'customize_selective_refresh' => true, - ], - ['width' => 520] + ] ); }