(bug 1941) Add textarea { font-family: monospace; } to shared.css for Safari
authorIlmari Karonen <vyznev@users.mediawiki.org>
Sat, 13 Dec 2008 08:49:16 +0000 (08:49 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Sat, 13 Dec 2008 08:49:16 +0000 (08:49 +0000)
RELEASE-NOTES
skins/common/shared.css

index 9a256be..8a1115c 100644 (file)
@@ -402,6 +402,9 @@ The following extensions are migrated into MediaWiki 1.14:
 * (bug 5506) Links to files on foreign repositories are now shown consistently
   as bluelinks e.g. in logs and edit summaries
 * (bug 16623) Add missing </p> tag in Special:LockDB
+* (bug 1941) Explicitly tell browsers to use a monospaced font for textareas.
+  Safari apparently defaults to a proportional font, which can make editing
+  pages with preformatted text difficult
 
 === API changes in 1.14 ===
 
index 6be252d..82532f3 100644 (file)
@@ -9,6 +9,9 @@
 img.tex { vertical-align: middle; }
 span.texhtml { font-family: serif; }
 
+/* (bug 1941) Safari defaults to a proportional font for textareas */
+textarea { font-family: monospace; }
+
 /* add a bit of margin space between the preview and the toolbar */
 /* this replaces the ugly <p><br /></p> we used to insert into the page source */
 #wikiPreview.ontop { margin-bottom: 1em; }