From 251648f53cefcf7cb6ec3d35ce78626afe893a50 Mon Sep 17 00:00:00 2001 From: Mohit Panjwani Date: Sat, 30 May 2020 20:30:09 +0530 Subject: [PATCH] fix email layout on mobile --- resources/views/emails/send/estimate.blade.php | 2 +- resources/views/emails/send/invoice.blade.php | 2 +- resources/views/emails/send/payment.blade.php | 2 +- resources/views/vendor/mail/html/themes/default.css | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/resources/views/emails/send/estimate.blade.php b/resources/views/emails/send/estimate.blade.php index 685b5d6f..6306bd0e 100644 --- a/resources/views/emails/send/estimate.blade.php +++ b/resources/views/emails/send/estimate.blade.php @@ -16,7 +16,7 @@ {{-- Subcopy --}} @slot('subcopy') @component('mail::subcopy') - You have received a new estimate from {{$data['company']['name']}} + You have received a new estimate from {{$data['company']['name']}} @component('mail::button', ['url' => url('/customer/estimates/pdf/'.$data['estimate']['unique_hash'])]) View Estimate @endcomponent diff --git a/resources/views/emails/send/invoice.blade.php b/resources/views/emails/send/invoice.blade.php index e57c885f..8488e7f6 100644 --- a/resources/views/emails/send/invoice.blade.php +++ b/resources/views/emails/send/invoice.blade.php @@ -16,7 +16,7 @@ {{-- Subcopy --}} @slot('subcopy') @component('mail::subcopy') - You have received a new invoice from {{$data['company']['name']}} + You have received a new invoice from {{$data['company']['name']}} @component('mail::button', ['url' => url('/customer/invoices/pdf/'.$data['invoice']['unique_hash'])]) View Invoice @endcomponent diff --git a/resources/views/emails/send/payment.blade.php b/resources/views/emails/send/payment.blade.php index e3384325..487e9e9b 100644 --- a/resources/views/emails/send/payment.blade.php +++ b/resources/views/emails/send/payment.blade.php @@ -16,7 +16,7 @@ {{-- Subcopy --}} @slot('subcopy') @component('mail::subcopy') - You have received a new payment from {{$data['company']['name']}} + You have received a new payment from {{$data['company']['name']}} @component('mail::button', ['url' => url('/payments/pdf/'.$data['payment']['unique_hash'])]) View Payment @endcomponent diff --git a/resources/views/vendor/mail/html/themes/default.css b/resources/views/vendor/mail/html/themes/default.css index 94aa08dd..dd8c752e 100644 --- a/resources/views/vendor/mail/html/themes/default.css +++ b/resources/views/vendor/mail/html/themes/default.css @@ -158,8 +158,6 @@ img { } .subcopy p { - display: flex; - justify-content: center; text-align: center; font-size: 20px; }