Part of fix for 49187 -- don't hardcode font size of view source, so that it uses browser defaults. r=ben

This commit is contained in:
sfraser@netscape.com
2000-09-02 04:17:17 +00:00
parent f1ae121378
commit d7df2cb4c8
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -43,7 +43,7 @@
#endif
#define VIEW_SOURCE_HTML
// #define VIEW_SOURCE_COLORING
//#define VIEW_SOURCE_COLORING
#include "nsIDTDDebug.h"
#include "nsViewSourceHTML.h"
@@ -87,7 +87,7 @@ static int gErrorThreshold = 10;
#endif
#ifdef VIEW_SOURCE_HTML
static const char* kPreStyle = "font-family: monospace; font-weight:normal; color:black; font-size:10pt; padding-top:8px; margin-left:8px;";
static const char* kPreStyle = "font-family: monospace; font-weight:normal; color:black; padding-top:4px; margin-left:4px;";
#endif // VIEW_SOURCE_HTML
/**