Skip to content

Commit cd1c88e

Browse files
committed
link buttons
1 parent 644c7c2 commit cd1c88e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

resources/views/components/button.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
$attributes = $attributes->class([
2121
'btn btn-' . $color,
2222
'btn-' . $size => $size,
23+
'border-0 p-0' => $color == 'link',
2324
])->merge([
2425
'type' => !$href ? $type : null,
2526
'href' => $href,

resources/views/components/dropdown.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
$attributes = $attributes->class([
1111
'btn btn-' . $color,
1212
'btn-' . $size => $size,
13+
'border-0 p-0' => $color == 'link',
1314
'dropdown-toggle',
1415
])->merge([
1516
'type' => 'button',

0 commit comments

Comments
 (0)