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

git-svn-id: svn://10.0.0.236/trunk@77993 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sfraser%netscape.com
2000-09-02 04:17:17 +00:00
parent 5218242340
commit c85a85e16f
2 changed files with 4 additions and 4 deletions

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
/**