Page MenuHomePhabricator

API sandbox's PageLayout looks wrong on a full page
Closed, ResolvedPublic

Description

T129157 resizes the page layout to fit the current height, but that is a hack solution - such a layout isn't really appropriate outside of a fixed height dialog so we should consider other approaches. There probably shouldn't be a border around it either.

Event Timeline

Esanders renamed this task from API sandbox's shouldn't use PageLayout to API sandbox's PageLayout looks wrong on a full page.Mar 20 2016, 12:06 PM

Perhaps we could use a continuous page layout with a floating TOC (the sidebar). This would also address T130497

Yeah, I agree that T129157 is a pretty meh solution to this (and I ran into a couple of very annoying problems with it, related to OOUI not being clever enough about scrollbars). The problem is that MenuLayout/BookletLayout works only when absolutely positioned (T98141).

I'm not sure what this task is about, actually. Is this a duplicate of T129157?

With T129157 fixed it isn't that bad, but my other objection was having the majority of the page content framed. Should probably be more like https://en.wikipedia.org/wiki/Special:Notifications

Change 635803 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/core@master] ApiSandbox: Remove full page border

https://gerrit.wikimedia.org/r/635803

Change 635803 merged by jenkins-bot:
[mediawiki/core@master] ApiSandbox: Remove full page border

https://gerrit.wikimedia.org/r/635803

matmarex assigned this task to Esanders.

Presumably resolved?