From b779d46ec3db462fcc7f56460c3c1e5c298be1ec Mon Sep 17 00:00:00 2001 From: Jeroen Dalsem Date: Mon, 18 Dec 2023 14:27:01 +0100 Subject: [PATCH] chore: updated add panel widget listing --- views/default/resources/widgets/add_panel.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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,