Skip to content

Commit

Permalink
Fix layout of summary submenu
Browse files Browse the repository at this point in the history
With this change, the buttons are now properly left-aligned with the
main div, instead of being slightly offset to the left, which is
particularly visible on narrow screens.

Fixes #25385
  • Loading branch information
dregad committed Feb 3, 2019
1 parent af72555 commit 5697fb6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/html_api.php
Expand Up @@ -585,15 +585,14 @@ function print_summary_submenu() {

if( count($t_menu_options) > 0 ) {
echo '<div class="space-10"></div>';
echo '<div class="center">';
echo '<div class="btn-toolbar inline">';
echo '<div class="col-md-12 col-xs-12 center">';
echo '<div class="btn-group">';

# Plugins menu items - these are cooked links
foreach ($t_menu_options as $t_menu_item) {
echo $t_menu_item;
}
echo '</div></div></div>';
echo '</div></div>';
}
}

Expand Down

0 comments on commit 5697fb6

Please sign in to comment.