From aa36556cb99ffa2bab2ad1390d748e5937797180 Mon Sep 17 00:00:00 2001 From: MW install maintain even with core development Date: Thu, 15 Feb 2018 09:32:33 -0500 Subject: [PATCH] Sidebar update to output and pivot.css title fix --- Pivot.skin.php | 11 ++++------- assets/stylesheets/pivot.css | 1 - 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Pivot.skin.php b/Pivot.skin.php index 445fb89..40f2a83 100644 --- a/Pivot.skin.php +++ b/Pivot.skin.php @@ -291,16 +291,13 @@ class pivotTemplate extends BaseTemplate { function renderSidebar() { $sidebar = $this->getSidebar(); - $toolbox = $this->getToolbox(); - foreach ($sidebar as $boxName => $box) { if ( ($box['header'] != wfMessage( 'toolbox' )->text()) ) { - echo '
  • '; + foreach ($sidebar as $boxName => $box) { + echo '
  • '; if ( is_array( $box['content'] ) ) { foreach ($box['content'] as $key => $item) { echo $this->makeListItem($key, $item); } - } } - } - echo '
  • '; - foreach ($toolbox as $key => $tbitem) { echo $this->makeListItem($key, $tbitem); } + } + echo ''; } } } ?> \ No newline at end of file diff --git a/assets/stylesheets/pivot.css b/assets/stylesheets/pivot.css index 3a4fd7b..3e347fe 100644 --- a/assets/stylesheets/pivot.css +++ b/assets/stylesheets/pivot.css @@ -847,7 +847,6 @@ span#nav-main { .tab-bar h1, .tab-bar h2, .tab-bar h3, .tab-bar h4 { font-size: 1.5em; font-weight: 400; - line-height: 1.8em; } section.right-small { border-left: none;