1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed MAIL_CONTAINER - Add direction to the container table

Discussion in 'Resolved Bug Reports' started by rellect, Oct 19, 2013.

  1. rellect

    rellect Well-Known Member

    Currently the direction value is in the body tag.
    Recently I got a report that there is an issue with RTL emails that shows as LTR.
    Found that the email service ignored the body tag and therefore it never got the RTL property.


    The necessary change is:
    MAIL_CONTAINER
    HTML:
    <table cellpadding="0" cellspacing="0" border="0" style="
            background-color: #F0F7FC;
            border: 1px solid #A5CAE4;
            border-radius: 5px">
    
    Change to
    HTML:
    <table cellpadding="0" cellspacing="0" border="0" style="
            direction: {$emailLanguage.text_direction};
            background-color: #F0F7FC;
            border: 1px solid #A5CAE4;
            border-radius: 5px">
    
     
    Moshe1010 likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    I've added this as an attribute and via the CSS to hopefully cover both cases.
     
    rellect likes this.

Share This Page