esotalk/esoTalk

Navbar expands upon scrolling

Closed this issue · 1 comments

In reference of flarum/framework#81 issue, I encountered a strange bug in the CSS when upon scrolling down of one's thread, totally leaving the search functionality obstructed in the way. Is there a way to fix this?

bar

I fixed this recently in an updated skin I made. The short of it is, on the default theme the user menu and new conversation button are floated to the right of the logo or conversation title. So when the conversation title grows to a certain point, the usermenu drops down. A fix is to add a sufficient right padding on the inner wrapper of the header and then apply a corresponding negative right margin to the right-aligned content.

For an example of how this is done, see how the default theme right-aligns the post count and last post information on the conversations list. This technique should be applied to the header as well.