esotalk / esoTalk

Fat-free forum software.
GNU General Public License v2.0
1.47k stars 236 forks source link

Navbar expands upon scrolling #429

Closed rodrigoargumedo closed 3 years ago

rodrigoargumedo commented 9 years ago

In reference of https://github.com/flarum/core/issues/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

jsonnull commented 9 years ago

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.