Added Yielding For Custom CSS

This commit is contained in:
Devansh 2020-09-03 13:16:31 +05:30
parent 93bc55f507
commit 606e6b1d4b
3 changed files with 23 additions and 7 deletions

View File

@ -4,13 +4,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,500" rel="stylesheet" type="text/css">
<style>
.payment-method {
font-weight: bold;
font-size: 16px;
color: #242424;
}
</style>
{{-- custom css --}}
@yield('custom-css')
</head>
<body style="font-family: montserrat, sans-serif;">

View File

@ -1,3 +1,13 @@
@section('custom-css')
<style>
.payment-method {
font-weight: bold;
font-size: 16px;
color: #242424;
}
</style>
@endsection
@component('shop::emails.layouts.master')
<div style="text-align: center;">
<a href="{{ config('app.url') }}">

View File

@ -1,3 +1,13 @@
@section('custom-css')
<style>
.payment-method {
font-weight: bold;
font-size: 16px;
color: #242424;
}
</style>
@endsection
@component('shop::emails.layouts.master')
<div style="text-align: center;">
<a href="{{ config('app.url') }}">