Columns misaligned when they are inside a section

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Steps to reproduce

      1. Add section;
      2. Add 2 column macros, setting each to 50% (or 4 columns at 25%);
      3. Add the same image to each of the columns, setting it to display at original size.

      Expected behavior
      The images are displayed side by side with the same size.

      Actual Behavior
      The columns end up misaligned, the first image being bigger because the other columns have 20px additional padding left.

      Workaround

      Add the additional padding in the first column as well.

      1. Go to General Configuration > Stylesheet;
      2. Add the following lines;

      .sectionMacro .columnMacro:first-child {
          padding-left: 20px;
      }
      

      3. Save the stylesheet and reload any affected page.

              Assignee:
              Unassigned
              Reporter:
              Lucas Machado (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: