Layout problem in Confluence 5 Admin screens

Hello people,

I'm experiencing a weird layout problem when I develop my own web sections within the Confluence administration: the left main navigation shifts down with the my body content.

I attached two screenshots:

1) The default layout of the administration console (which is perfectly fine)
2) My own admin action which makes the navigation shift down

The screens show the Chrome devtools with a <br class="clear"> tag marked. In the screen with the layout problem, if I shift that <br> tag up one div level, the problem is solved. But I'm not sure how to fix this (I'm currently putting a <br class="clear"> with JavaScript one level higher at the end of <div id="admin-content"> which is an ugly workaround I would like to get rid of.

Any help's appreciated!

Felix Grund [Scandio GmbH]

1 answer

Why are you even clearing that? Can you not just remove that entirely?

Also if you do need to clear floats I'd recommend using the micro-clearfix technique instead of adding an element like that <br>

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

262 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you