From d0d03f26ebe97fa3acb2d05267e9e6310661a8eb Mon Sep 17 00:00:00 2001 From: Matthew Piatetsky Date: Fri, 12 Nov 2021 13:53:00 -0500 Subject: [PATCH] fix: Miscellaneous css fixes (#29309) --- .../edx_ace/goalreminder/email/body.html | 33 ++++++++++++------- .../edx_ace/goalreminder/email/head.html | 2 +- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/body.html b/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/body.html index fe3c6279f7..68a3ace2c0 100644 --- a/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/body.html +++ b/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/body.html @@ -26,20 +26,21 @@ {% include "goal_reminder_banner.html" %}

{% filter force_escape %}{% blocktrans %} There's still time to reach your goal {% endblocktrans %}{% endfilter %}

-

+

{% filter force_escape %} {% blocktrans count count=days_per_week asvar goal_text %} You set a goal of learning {start_bold}{{days_per_week}} time a week in {{course_name}}{end_bold}. You're not quite there, but there's still time to reach that goal!" @@ -54,18 +55,21 @@

+ margin-bottom: 1rem; + font-size: 16px; + font-size: 1rem; + "> {% filter force_escape %}{% blocktrans %} Jump back in {% endblocktrans %}{% endfilter %}
-

+

{% filter force_escape %}{% blocktrans %} Remember, you can always change your learning goal. The best goal is one that you can stick to. {% endblocktrans %}{% endfilter %} @@ -75,9 +79,12 @@

+ background: white; + font-size: 16px; + font-size: 1rem; + "> {% filter force_escape %}{% blocktrans %} Adjust my goal {% endblocktrans %}{% endfilter %} @@ -88,12 +95,14 @@ {% filter force_escape %}{% blocktrans %} diff --git a/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/head.html b/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/head.html index 2232c6d6e7..5693fc78b7 100644 --- a/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/head.html +++ b/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/head.html @@ -4,7 +4,7 @@ @media only screen and (max-width: 456px) { .goals-banner-div { background-image: url('{{image_url}}goalreminder-mobile-hero.png') !important; - height: 200px !important; + height: 185px !important; padding-top: 0 !important; } .goal-reminder-body-wrapper {