Skip to content

Commit

Permalink
Added align property to button mail component (#45362)
Browse files Browse the repository at this point in the history
  • Loading branch information
buismaarten committed Dec 20, 2022
1 parent 57d0b25 commit ca775d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Illuminate/Mail/resources/views/html/button.blade.php
@@ -1,13 +1,14 @@
@props([
'url',
'color' => 'primary',
'align' => 'center',
])
<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<table class="action" align="{{ $align }}" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<td align="{{ $align }}">
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<td align="{{ $align }}">
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
Expand Down

0 comments on commit ca775d0

Please sign in to comment.