diff --git a/views/default/resources/widgets/add_panel.php b/views/default/resources/widgets/add_panel.php index e51b220..5c9ae3b 100644 --- a/views/default/resources/widgets/add_panel.php +++ b/views/default/resources/widgets/add_panel.php @@ -73,7 +73,7 @@ $class[] = $widget_type->multiple ? 'elgg-widget-multiple' : 'elgg-widget-single'; - $action = '
'; + $action = '
'; if (!$widget_type->multiple) { $action .= elgg_format_element('span', ['class' => 'elgg-quiet'], elgg_echo('widget:unavailable')); } @@ -103,9 +103,7 @@ 'class' => 'elgg-widgets-add-description', ], $description); - $item_content = elgg_format_element('div', [ - 'class' => 'elgg-level', - ], $description . $action); + $item_content = $description . $action; $list_items .= elgg_format_element('li', [ 'class' => $class,