try to set a vackground color for mail template header

This commit is contained in:
saparatayev 2022-02-08 18:14:41 +05:00
parent 90e8d7c5ca
commit 56394cdbd1
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ layout="birzha_default"
<!-- Tm --> <!-- Tm -->
<table class="mail" style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;"> <table class="mail" style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;">
<thead> <thead style="background-color: #003197;">
<tr> <tr>
<th class="header" style="padding: 0; position: relative;"> <th class="header" style="padding: 0; position: relative;">
<div class="header_row" style=" display: flex; <div class="header_row" style=" display: flex;
@ -32,7 +32,7 @@ layout="birzha_default"
{% endif %} {% endif %}
</h1> </h1>
<div class="header_bg" style="position: absolute; <!-- <div class="header_bg" style="position: absolute;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
@ -42,7 +42,7 @@ layout="birzha_default"
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
-o-object-fit: cover;" src="{{asset('themes/birzha/assets/images/footer-bg.png')}}" alt="background-img"> -o-object-fit: cover;" src="{{asset('themes/birzha/assets/images/footer-bg.png')}}" alt="background-img">
</div> </div> -->
</div> </div>
</th> </th>
</tr> </tr>

View File

@ -34,7 +34,7 @@ position: relative;
<table class="mail" <table class="mail"
style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;"> style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;">
<thead> <thead style="background-color: #003197;">
<tr> <tr>
<th class="header" style="padding: 0; position: relative;"> <th class="header" style="padding: 0; position: relative;">
<div class="header_row" style=" display: flex; <div class="header_row" style=" display: flex;
@ -57,7 +57,7 @@ position: relative;
Подтвердите адрес электронной почты. Подтвердите адрес электронной почты.
</h1> </h1>
<div class="header_bg" style="position: absolute; <!-- <div class="header_bg" style="position: absolute;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
@ -67,7 +67,7 @@ position: relative;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
-o-object-fit: cover;" src="images/footer-bg.png" alt="background-img"> -o-object-fit: cover;" src="images/footer-bg.png" alt="background-img">
</div> </div> -->
</div> </div>
</th> </th>
</tr> </tr>