Last modified: 2013-04-02 17:07:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22533, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20533 - Centering images with thumbnail in Simple skin
Centering images with thumbnail in Simple skin
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 42081
  Show dependency treegraph
 
Reported: 2009-09-07 22:02 UTC by user.maxim
Modified: 2013-04-02 17:07 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description user.maxim 2009-09-07 22:02:11 UTC
I'm having a problem centering images when it's a thumbnail when using the Simple skin: http://en.wikipedia.org/w/index.php?title=Raymore_Drive&oldid=312469478&useskin=simple

It's fine without the thumbnail: http://en.wikipedia.org/w/index.php?title=Raymore_Drive&oldid=312417329&useskin=simple

Now here's the kicker. The only browser I checked that in which this isn't a problem is IE. (Chrome, Opera, and Firefox are the other test browsers.)
 
Thanks a lot,

w:en:User:Maxim
Comment 1 Splarka 2009-09-08 02:02:32 UTC
monobook/main.css has:

 /* emulate center */
 .center {
 	width: 100%;
 	text-align: center;
 }
 *.center * {
 	margin-left: auto;
 	margin-right: auto;
 }

simple/main.css only has:

 div.center {
   text-align: center;
 }

The second bit is needed for this behavior.
Comment 2 Bryan Baron 2009-10-26 21:39:49 UTC
What about other skins? Should those rules be moved to shared.css?
Comment 3 Bartosz Dziewoński 2013-04-02 17:06:40 UTC
This is invalid now that the legacy skins have been removed (Ia6d73c2d).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links