Bug 698703 - Source Editor should display text with the user's preferred monospace font size; r=msucan
authorCedric Vivier <cedricv@neonux.com>
Tue, 01 Nov 2011 18:30:19 +0800
changeset 79474 f5bc569a7c016d0dbae01ca1a53e827ebe72d2a6
parent 79473 5b1c3d9c342bc048a1fb57a28cddcfcaee4ea865
child 79475 75692b1af68f8cfb2f08bc7d53d666eac5976099
child 79476 9f51745bdd6df902ccff9ba21f567245b7c56a9f
push id267
push userrcampbell@mozilla.com
push dateTue, 01 Nov 2011 17:37:31 +0000
treeherderfx-team@f5bc569a7c01 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmsucan
bugs698703
milestone10.0a1
Bug 698703 - Source Editor should display text with the user's preferred monospace font size; r=msucan
browser/devtools/sourceeditor/orion/mozilla.css
--- a/browser/devtools/sourceeditor/orion/mozilla.css
+++ b/browser/devtools/sourceeditor/orion/mozilla.css
@@ -1,11 +1,14 @@
 /* Any copyright is dedicated to the Public Domain.
    http://creativecommons.org/publicdomain/zero/1.0/ */
 
+.viewContainer {
+  font-size: inherit; /* inherit browser's default monospace font size */
+}
 
 .rulerLines {
   background: -moz-Dialog;
   color: -moz-DialogText;
   min-width: 1.4em;
   padding-left: 4px;
   padding-right: 4px;
   text-align: end;