Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-29465

Info / tip / warning / note (.aui-message) panels does not respect floating elements

      In previous versions of Confluence, when you floated a panel to the right of a page and put an info box in the page, the width of the panel respected the floated panel, and would not overlap with it. In newer versions of Confluence, only the contents of the info panel do - the border still overlaps with floating elements. I have attached a screenshot to indicate what I mean.

      STR:

      1. Create a page and in it put a panel at the top with loremipsum.
      2. Underneath put some loremipsum.
      3. Underneath that put an info panel and put some loremimpsum in that. Save the page.
      4. In the developer view of your browser, target the div for the first panel and assign it {float: right; width: 20%}

        . It will now float to the right of the page.

      Note that the loremipsum in the body of the page does not overlap with the panel, but the info box does. This is incorrect behaviour.

      EDIT
      Despite spending some time looking at it yesterday I have just figured out how to workaround it. You should set

      {overflow: auto}

      to .aui-message. This is a bit of a CSS hack, tbh, but it works.

              Unassigned Unassigned
              4c44925d5073 Steve Goldberg
              Affected customers:
              4 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: