Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub broke this userstyle #74

Open
msva opened this issue Jun 24, 2020 · 7 comments
Open

GitHub broke this userstyle #74

msva opened this issue Jun 24, 2020 · 7 comments

Comments

@msva
Copy link

msva commented Jun 24, 2020

Hi there!
As for now, with new GH interface, this style seems to be broken and does not work anymore.
Looks like it is needed to be updated...

// P.S. I not sure if I had enough time in near future, so don't rely on me, please. But I'll try to look into this when I'll have some spare time.

@cfoellmann
Copy link
Contributor

For me it still works.
In general the full width is still present. Smaller problems might occur

@stavamichal
Copy link

I have the same problem and also my colleagues. It's not working anymore after the git hub GUI update.

@PoorPocketsMcNewHold
Copy link

Still seems to work for me pretty well. Screenshot took on Firefox Nightly with additional userscripts (None affect the ¨performance¨ of the github-wide userscript in any ways)

@stavamichal
Copy link

My colleague found a problem. There was container with the name 'container-lg', but now it is 'container-xl'. So this change of style for GitHub wide works for us.

/* New responsive containers on some pages */
.container-xl {
  max-width: 100% !important;
  padding-right: 30px !important;
  padding-left: 30px !important;
}

@cfoellmann
Copy link
Contributor

@stavamichal in the current style this is already included.
you just removed the same styles from the .container-lg.

@cfoellmann
Copy link
Contributor

Today it broke for me (over the weekend I suppose).

the .pagehead is not stretched.
I hope I have time today to fix this.

Any feedback and/or validation is very welcome

gh-wide

@cfoellmann
Copy link
Contributor

I have this in my Dev Tools:

Declared as "injected stylesheet". is this js? never seen a declared style I was not allowed to mess with in the Chrome Dev Tools

body:not(.full-width):not(.enterprise) .repohead:not(.gisthead) > * {
    padding-left: calc(50% - 640px) !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants