wide-github icon indicating copy to clipboard operation
wide-github copied to clipboard

Does not work on individual Markdown preview pages

Open Tatsh opened this issue 6 months ago • 4 comments

https://github.com/Tatsh/mpv-netrc/blob/master/README.md it starts off wide but then it goes back to 1280px width.

Tatsh avatar May 17 '25 06:05 Tatsh

That page seems to work fine for me. Do you have any other extensions installed that could be conflicting?

It's also possible GitHub is doing partial roll outs of a layout change, but if that's the case I'll just have to wait until I'm able to see the issue.

xthexder avatar May 18 '25 05:05 xthexder

I do not get the issue on my laptop which has a normal size screen. I only get the issue on my ultra-wide screen which is 7680x2160 pixels.

Tatsh avatar May 18 '25 06:05 Tatsh

I do not get the issue on my laptop which has a normal size screen. I only get the issue on my ultra-wide screen which is 7680x2160 pixels.

I don't have an ultra-wide like that, but simulating that resolution on both Firefox and Chrome, the extension seems to work fine for me, so it isn't a CSS issue. Which version of wide-github do you have installed? One of the web store versions? Or the user script version?

Is it switching to 1280px immediately after page load? Or is it later when clicking links? If it's starting wide and switching back to fixed-width on its own, I can only imagine something else is overwriting the style sheet, like another extension.

xthexder avatar May 19 '25 03:05 xthexder

I figured it out and I am pretty sure I was in an A/B test (the wrong one). I cleared cookies and re-logged in and the issue no longer occurs.

Image

On my machine that data-width attribute was showing xlarge instead of full. I think you should cover that case.

Tatsh avatar May 20 '25 20:05 Tatsh