Skip to content

Menu/Header is centred (instead of left-aligned) #3332

Closed

Description

@stephenpope

This is a great tool but I noticed today that the header menu is now centred when I have refined-github enabled.

Refined-Github = Disabled

image

Refined-Github = Enabled

image

Now I do use a modification (Stylus) to make github use a wide layout but this happens identically using either of the top two stylus plugins :
https://github.com/mdo/github-wide
https://github.com/xthexder/wide-github

.. so this issue seems like something changed with GitHubs styles and so this has effected refined-github in some way.

Activity

  1. jfcherng commented on Jul 10, 2020

    @jfcherng

    I don't use those plugin but have similar a problem in a gist page. Version 20.7.10 by the way.

    image

  2. fregante commented on Jul 10, 2020

    @fregante
    Member

    Does the issue happen even when you disable those 2 extensions?

  3. stephenpope commented on Jul 10, 2020

    @stephenpope
    Author

    Thanks for taking a look :)

    Here are the different states ..

    refined-github: OFF / wide-github: OFF

    image

    refined-github: ON / wide-github: OFF

    image

    refined-github: OFF / wide-github: ON

    image

    refined-github: ON / wide-github: ON

    image

  4. fregante commented on Jul 10, 2020

    @fregante
    Member

    Gists support is easily fixable, but if you want this to work correctly with those extensions, try asking them to specifically override our style (once we’re done adjusting it). It’s easier for them to override our style than it is for us to detect them and exclude them.

  5. stephenpope commented on Jul 10, 2020

    @stephenpope
    Author

    Sure .. i totally get that. Could you just ping this thread when you guys are done and I can either submit a patch or ask them to lok at it :)
    Any hints about what has chnaged / what to tweak would also be very much appreciated :D

  6. fregante commented on Jul 10, 2020

    @fregante
    Member

    Those extensions can cancel/override the padding we add in align-repository-header.css. It would be a change specific to Refined GitHub

  7. fregante commented on Jul 10, 2020

    @fregante
  8. stephenpope commented on Jul 13, 2020

    @stephenpope
    Author

    @fregante Im afraid not .. correct selector but doesnt seem to override (sorry ive not done CSS in a long time!) ..
    image

    Thanks for the help though.

  9. lamont-granquist commented on Aug 18, 2020

    @lamont-granquist

    I think after 2fa584d this is required:

    body:not(.full-width):not(.enterprise) main > .hide-full-screen > * {
    	padding-left: 0 !important;
    }
    
  10. fregante commented on Feb 1, 2023

    @fregante
    Member

    This feature has now been dropped in #6247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions