Page MenuHomePhabricator

Fix alignment of special pages in 2021 vector
Closed, DuplicatePublicBUG REPORT

Assigned To
None
Authored By
Nux
Jul 3 2021, 11:46 PM
Referenced Files
F34538357: obraz.png
Jul 4 2021, 10:54 AM
F34538355: obraz.png
Jul 4 2021, 10:54 AM
F34537779: obraz.png
Jul 3 2021, 11:46 PM
F34537777: obraz.png
Jul 3 2021, 11:46 PM

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:

obraz.png (248×1 px, 30 KB)

What should have happened instead?:

I think this looks better.

obraz.png (271×1 px, 30 KB)

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

This should fix this (part of the selector is the same as for an article body):

@media screen {
    .skin-vector-disable-max-width .mw-article-toolbar-container {
        max-width: none;
    }
    .skin-vector-disable-max-width .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container {
        margin-left: 11.5em;
    }
}

Event Timeline

Hi, this is about the positioning of the ca-nstab-special tab?

No, this is for all pages that go full width (special-special pages being one of them though). So also the Growth project user page like this one:

obraz.png (1×1 px, 127 KB)

And in collapsed menu state:

obraz.png (1×1 px, 112 KB)