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 <noreply@anthropic.com>
This commit is contained in:
1 parent
05c7ade3f5
commit
aa692f3c9f
1 file changed
+1
-2
@@ -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]
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user