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 79523 f5bc569a7c016d0dbae01ca1a53e827ebe72d2a6
parent 79522 5b1c3d9c342bc048a1fb57a28cddcfcaee4ea865
child 79524 75692b1af68f8cfb2f08bc7d53d666eac5976099
child 79525 9f51745bdd6df902ccff9ba21f567245b7c56a9f
push id21411
push usertim.taubert@gmx.de
push dateWed, 02 Nov 2011 09:59:28 +0000
treeherdermozilla-central@185e913a7061 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmsucan
bugs698703
milestone10.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;