Skip to content

Commit

Permalink
Merge pull request #61 from s-nakajima/master
Browse files Browse the repository at this point in the history
ブロックタイトルを表示するように修正
  • Loading branch information
s-nakajima committed Jun 19, 2016
2 parents d683ad1 + 306816a commit 0bf03ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions View/Helper/BlockTabsHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,9 @@ public function block($activeTab) {
}

$html .= '</ul>';

$blockName = Current::read('Block.name');
$html .= $this->NetCommonsHtml->tag('h2', $blockName, ['class' => 'block-title']);
return $html;
}

Expand Down
5 changes: 5 additions & 0 deletions webroot/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@
.block-modified {
margin-left: 5px;
}

h2.block-title {
font-size: 18px;
margin-bottom: 16px;
}

0 comments on commit 0bf03ea

Please sign in to comment.