Skip to content

Commit 91686fa

Browse files
committed
feat: add option to remove padding for bar
1 parent ce37c5e commit 91686fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/NotFound/Layout/Elements/LayoutBar.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ public function __construct()
99
parent::__construct(type: 'Bar');
1010
}
1111

12+
public function removePadding(): self
13+
{
14+
$this->properties->removePadding = true;
15+
return $this;
16+
}
17+
1218
public function addBarButton(LayoutBarButton $btn)
1319
{
1420
$this->items->add($btn->build());

0 commit comments

Comments
 (0)