fix(invoice): disable iOS WebKit automatic email and data detector underlining
This commit is contained in:
parent
3c40cb93f1
commit
f4da5387c4
|
|
@ -420,6 +420,7 @@ class AdminPaymentService:
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="format-detection" content="telephone=no, date=no, address=no, email=no">
|
||||||
<title>Tax Invoice - {inv_number}</title>
|
<title>Tax Invoice - {inv_number}</title>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
|
@ -431,6 +432,18 @@ class AdminPaymentService:
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||||
}}
|
}}
|
||||||
|
/* Prevent iOS WebKit / Safari automatic data detector and link underlining */
|
||||||
|
a,
|
||||||
|
a[x-apple-data-detectors],
|
||||||
|
a[href^="mailto:"],
|
||||||
|
a[href^="tel:"] {{
|
||||||
|
color: inherit !important;
|
||||||
|
text-decoration: none !important;
|
||||||
|
font-size: inherit !important;
|
||||||
|
font-family: inherit !important;
|
||||||
|
font-weight: inherit !important;
|
||||||
|
line-height: inherit !important;
|
||||||
|
}}
|
||||||
body {{
|
body {{
|
||||||
background-color: #f8fafc;
|
background-color: #f8fafc;
|
||||||
color: #1e293b;
|
color: #1e293b;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue