Refined-github: FIXED: Repo headers compressed to right side on Github Enterprise

Created on 9 Jul 2020  路  7Comments  路  Source: sindresorhus/refined-github

Looks like there's some kind of injected CSS malarky going on here:

When the window is narrow:

Screen Shot 2020-07-09 at 11 28 03 AM

When you get wider, the info starts running off to the right:

Screen Shot 2020-07-09 at 11 28 15 AM

I would _suspect_ that this is a "Github Enterprise is older with different CSS" issue?

Turning off RefinedGithub for the domain and the issue goes away. Turn it back on, and issue returns.

bug enterprise

Most helpful comment

Will be fixed by https://github.com/sindresorhus/refined-github/commit/120de1b0ebaba019d9775705907c652bbdd770a1 when it's deployed

Update: 20.7.10 released

Keep an eye on these numbers:

All 7 comments

Adding:

body:not(.full-width) .repohead > * {
    padding-left: 0 !important;
}

to the custom CSS for our enterprise domain fixes the issue.

We can push a hotfix for this. Does enterprise have any classes on body or html?

Adding:

...

to the custom CSS for our enterprise domain fixes the issue.

Confirmed to fix it for my case.

My enterprise page


<!DOCTYPE html>
<html lang="en">
...
<body class="logged-in enterprise env-production emoji-size-boost min-width-lg">

Will be fixed by https://github.com/sindresorhus/refined-github/commit/120de1b0ebaba019d9775705907c652bbdd770a1 when it's deployed

Update: 20.7.10 released

Keep an eye on these numbers:

Removed my override, updated, problem gone. Thanks!

Can confirm that 20.7.10 fixed it for me! Thanks for the quick turnaround 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mareksuscak picture mareksuscak  路  3Comments

hkdobrev picture hkdobrev  路  3Comments

yakov116 picture yakov116  路  3Comments

alexanderadam picture alexanderadam  路  3Comments

Celthi picture Celthi  路  3Comments