Skip to content

Commit ca775d0

Browse files
authored
Added align property to button mail component (#45362)
1 parent 57d0b25 commit ca775d0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Illuminate/Mail/resources/views/html/button.blade.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
@props([
22
'url',
33
'color' => 'primary',
4+
'align' => 'center',
45
])
5-
<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation">
6+
<table class="action" align="{{ $align }}" width="100%" cellpadding="0" cellspacing="0" role="presentation">
67
<tr>
7-
<td align="center">
8+
<td align="{{ $align }}">
89
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
910
<tr>
10-
<td align="center">
11+
<td align="{{ $align }}">
1112
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
1213
<tr>
1314
<td>

0 commit comments

Comments
 (0)