Skip to content

Commit

Permalink
fixed: use correct headings in simplified boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed Sep 2, 2024
1 parent 6f51347 commit 7606b7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions views/default/group_tools/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,12 @@

> h2 {
display: block;
color: inherit;
}

&.elgg-state-active {
color: $(button-action-font-color);
background: $(button-action-background-color);

h3 {
color: inherit;
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions views/default/groups/edit/access_simplified.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

elgg_import_esm('groups/edit/access_simplified');

$open_text = elgg_format_element('h3', [], elgg_echo('group_tools:edit:access_simplified:open'));
$open_text = elgg_format_element('h2', [], elgg_echo('group_tools:edit:access_simplified:open'));
$open_text .= elgg_view('output/longtext', [
'value' => elgg_echo('group_tools:edit:access_simplified:open:description'),
]);

$closed_text = elgg_format_element('h3', [], elgg_echo('group_tools:edit:access_simplified:closed'));
$closed_text = elgg_format_element('h2', [], elgg_echo('group_tools:edit:access_simplified:closed'));
$closed_text .= elgg_view('output/longtext', [
'value' => elgg_echo('group_tools:edit:access_simplified:closed:description'),
]);
Expand Down

0 comments on commit 7606b7c

Please sign in to comment.