Page MenuHomePhabricator

Make FlaggedRevs revision rating box responsive
Closed, ResolvedPublic


The second line of the revision rating box of FlaggedRevs is non-breakable, which causes it to be quite wide (at least 663px on my machine, of course it can be a bit more or less depending on the font). I don't see why should it be non-breakable, but it's certainly too wide to be called responsive. We shouldn't depend on MobileFrontend: first, there may be wikis where FlaggedRevs is installed but MobileFrontend is not; second, using a standard 640×480 screen, the desktop interface is more convenient (not to say that MobileFrontend doesn't turn on automatically on narrow desktop computers, only on mobile/tablet devices).

Event Timeline

@aaron, can you explain why have you added white-space:nowrap in 561b7eb7a136 (yeah, I know, it was over a decade ago…)? Does it cause any harm just deleting it? It’s pretty annoying when I narrow the browser window down to make more stuff have place on the screen and I get a horizontal scrollbar only because of this.

I don't recall an overriding reason it has to be there. Seems reasonable to experiment with changing it as long as the common desktop case (fuller window) looks the same.

Change 518451 had a related patch set uploaded (by Tacsipacsi; owner: Tacsipacsi):
[mediawiki/extensions/FlaggedRevs@master] Revert "white-space:nowrap"

Change 518451 merged by jenkins-bot:
[mediawiki/extensions/FlaggedRevs@master] Revert "white-space:nowrap"

Tacsipacsi claimed this task.