fix: fixed button padding issue

This commit is contained in:
sundasnoreen12
2025-07-09 16:40:49 +05:00
parent 8b7681ed4c
commit 595bec3e88
2 changed files with 6 additions and 14 deletions

View File

@@ -14,16 +14,6 @@
{% block content %}
<table width="100%" style="margin-bottom: 30px;" align="left" border="0" cellpadding="0" cellspacing="0" role="presentation">
<style>
.course-text{
span{
padding-left: 12px;
padding-right: 12px;
padding-top: 10px;
padding-bottom: 10px;
}
}
</style>
{% if route_enabled %}
<tr>
<td>
@@ -75,7 +65,7 @@
</td>
</tr>
<tr style="height: 32px;">
<td style="padding-top: 1rem;" class="course-text">
<td style="padding-top: 1rem; padding-left: 30px;">
{% filter force_escape %}
{% blocktrans asvar course_cta_text %}Resume your course {% endblocktrans %}
{% endfilter %}

View File

@@ -1,7 +1,6 @@
{% load i18n %}
{% load ace %}
<p>
{# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
<a
{% if reset_url %}
@@ -28,8 +27,11 @@
display: inline-flex;
flex-direction: row;
border-radius: 30.22px;
padding-top: 6px;
padding-bottom: 6px;
padding-left: 11px;
padding-right: 11px;
">
{# old email clients require the use of the font tag :( #}
<span color="#ffffff"><b>{{ course_cta_text }}</b></span>
{{ course_cta_text }}
</a>
</p>