Skip to content

Commit

Permalink
Fix line height stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Mar 30, 2015
1 parent 100be7c commit db1ee5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansi2html/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<style type="text/css">\n%(style)s\n</style>
</head>
<body class="body_foreground body_background" style="font-size: %(font_size)s;" >
<pre id="content">
<pre class="ansi2html-content">
%(content)s
</pre>
</body>
Expand Down
2 changes: 1 addition & 1 deletion ansi2html/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def index2(grey):
def get_styles(dark_bg=True, scheme='ansi2html'):

css = [
Rule('#content', white_space='pre-wrap', word_wrap='break-word'),
Rule('.ansi2html-content', white_space='pre-wrap', word_wrap='break-word', display='inline'),
Rule('.body_foreground', color=('#000000', '#AAAAAA')[dark_bg]),
Rule('.body_background', background_color=('#AAAAAA', '#000000')[dark_bg]),
Rule('.body_foreground > .bold,.bold > .body_foreground, body.body_foreground > pre > .bold',
Expand Down

0 comments on commit db1ee5b

Please sign in to comment.