Skip to content

Commit

Permalink
chore: updated add panel widget listing
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed Dec 18, 2023
1 parent 030bd80 commit b779d46
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions views/default/resources/widgets/add_panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

$class[] = $widget_type->multiple ? 'elgg-widget-multiple' : 'elgg-widget-single';

$action = '<div class="elgg-widgets-add-actions elgg-level">';
$action = '<div class="elgg-widgets-add-actions">';
if (!$widget_type->multiple) {
$action .= elgg_format_element('span', ['class' => 'elgg-quiet'], elgg_echo('widget:unavailable'));
}
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b779d46

Please sign in to comment.