Skip to content

Commit

Permalink
feat: add option to remove padding for bar
Browse files Browse the repository at this point in the history
  • Loading branch information
64knl committed Jan 11, 2023
1 parent ce37c5e commit 91686fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/NotFound/Layout/Elements/LayoutBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ public function __construct()
parent::__construct(type: 'Bar');
}

public function removePadding(): self
{
$this->properties->removePadding = true;
return $this;
}

public function addBarButton(LayoutBarButton $btn)
{
$this->items->add($btn->build());
Expand Down

0 comments on commit 91686fa

Please sign in to comment.