Skip to content

[17.0] module: mailing_mailing - vertical alignment-bug (with proposal for solution) #1280

@SimonPerktold

Description

@SimonPerktold

Odoo Version

  • 16.0
  • 17.0
  • 18.0
  • Other (specify)

Steps to Reproduce

Issue: Vertical Alignment in Columns does not work.

Reproduce:

  • add any snippet that uses the 's_three_columns'-class (e.g. columns).
  • align columns vertically: start/center/end/stretch (this will e.g. add the class 'align-items-center')
  • it will only arrange correctly in the preview, not in the actual mail.

Fix:

  • Add corresponding 'self-align' in style of child-elements, e.g.:
<div class="s_three_columns">
  <div class="container s_allow_columns">
    <div class="row d-flex align-items-center">
      <div class="col-lg-6" style="self-align: center;">
...

Thank you for taking your time to fix this!! :)

Log Output

Support Ticket

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions