Special:Preferences:
Special:GlobalPreferences:
add min and max width
• Niharika | |
Feb 27 2018, 1:52 AM |
F14246061: Screenshot-2018-3-2 Global preferences - Dev Wiki wiki1.png | |
Mar 2 2018, 3:09 AM |
F14246146: Screenshot-2018-3-2 Preferences - Dev Wiki wiki1.png | |
Mar 2 2018, 3:09 AM |
F14048119: Screenshot-2018-2-27 Global preferences - Dev Wiki wiki1(4).png | |
Feb 27 2018, 4:05 AM |
F14048066: Screenshot-2018-2-27 Global preferences - Dev Wiki wiki1(3).png | |
Feb 27 2018, 4:05 AM |
F14046381: image.png | |
Feb 27 2018, 1:52 AM |
F14046383: image.png | |
Feb 27 2018, 1:52 AM |
Special:Preferences:
Special:GlobalPreferences:
add min and max width
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Make field labels a consistent width | mediawiki/extensions/GlobalPreferences | master | +2 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • Niharika | T139145 global disabling of compact language list | |||
Resolved | None | T16950 [Epic] Support global preferences on Wikimedia wikis | |||
Resolved | Samwilson | T188360 In Recent change > Pending changes, wrap text for second set of options (add min and max width) |
The normal preferences wraps this because it's in a two-column table, so normal table layout stuff comes into effect.
If we wrap it, we have to decide how wide to make it. Could be 50%? Could be a set amount e.g. 40em? Maybe a max-width would be suitable?
It could look like this:
If we applied the same style throughout, elsewhere this would create this:
@Samwilson I think that looks pretty good. We can make the change and throw it on beta cluster to see how it looks. It definitely looks much better than what we have now but I'd like to look at all the tabs just to be sure.
Change 415796 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/extensions/GlobalPreferences@master] Make field labels a consistent width
I experimented with min and max, but have gone with just fixed width: 20em because it looks pretty good and as we're not targeting mobile super small screens aren't a concern. Looks okay on (simulated) tablet:
Which isn't perfect, but no worse than normal preferences in a small screen:
Change 415796 merged by jenkins-bot:
[mediawiki/extensions/GlobalPreferences@master] Make field labels a consistent width