Skip to content

Commit

Permalink
Fixes margin when not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Oct 14, 2018
1 parent 0bdb20e commit 49eab5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public function __construct($title = '', array $options = [])
$this->addLineBreak(' ')
->setTitleSeparator('-');

$this->setMarginAuto();

$this->setTitle($title);

$this->addOptions($options);
Expand Down

0 comments on commit 49eab5a

Please sign in to comment.