xthexder / wide-github

Change all github repository pages to be full width and dynamically sized.
MIT License
378 stars 71 forks source link

Fix selectors to work with new GitHub turbo-frame usage #78

Closed xthexder closed 1 year ago

xthexder commented 1 year ago

It seems the selector I had been using for the Issues page CSS only worked for a fresh page load, not javascript navigation, since the class structure is different when Issues are loaded via <turbo-frame>.

This changes the selectors to match regardless of navigation method.