StylishThemes / GitHub-FixedHeader

:octocat: Pinned header on GitHub
https://raw.githubusercontent.com/StylishThemes/GitHub-FixedHeader/master/github-fixed-header.user.css
Other
63 stars 7 forks source link

Doesn't play nice with OctoTree #6

Closed snowe2010 closed 7 years ago

snowe2010 commented 8 years ago

OctoTree overruns the header if expanded with Fixed-Header

Mottie commented 8 years ago

Hi @snowe2010!

Hmm, yeah that will be a difficult fix with pure CSS since Octotree allows for adjusting the width of the left panel. I can override the set margin-left, but if the panel is really wide, then it will still overlap some elements in the header.

This won't be a perfect fix, but it should make things a little bit easier.

snowe2010 commented 8 years ago

Fantastic! Thank you so much!

snowe2010 commented 7 years ago

Ah you know what. I wasn't being clear at all in what I was talking about. I completely forgot that I use Github Wide which makes Github spread all the way to the edge. I get a situation where if the octotree panel is at its very smallest it still overruns the header because the header expands all the way to the left. :/

DaniloNovakovic commented 5 years ago

@Mottie I feel that this workaround should be noted somewhere in the README. Reducing the width of Octotree solves the problem and I consider it as a good-enough solution (at least for my own needs), but I still had to come here and figure it out as reducing the width of Octotree's side panel width didn't really even cross my mind.