fix highlighting bug after page_diff refactoring

This commit is contained in:
sbcgua 2017-01-12 15:35:40 +02:00
parent c8c7ce8471
commit b91ab3d9bd

View File

@ -519,19 +519,17 @@ table.diff_tab code {
white-space: pre; white-space: pre;
} }
table.diff_tab td.code { table.diff_tab td.code {
/* font-family: inherit; */
/* white-space: pre; */
word-wrap: break-word; word-wrap: break-word;
white-space: pre-wrap; white-space: pre-wrap;
overflow: visible; overflow: visible;
} }
table.diff_tab code span.keyword { color: #0a69ce; } table.diff_tab .code span.keyword { color: #0a69ce; }
table.diff_tab code span.text { color: #48ce4f; } table.diff_tab .code span.text { color: #48ce4f; }
table.diff_tab code span.comment { color: #808080; font-style: italic; } table.diff_tab .code span.comment { color: #808080; font-style: italic; }
table.diff_tab code span.xml_tag { color: #457ce3; } table.diff_tab .code span.xml_tag { color: #457ce3; }
table.diff_tab code span.attr { color: #b777fb; } table.diff_tab .code span.attr { color: #b777fb; }
table.diff_tab code span.attr_val { color: #7a02f9; } table.diff_tab .code span.attr_val { color: #7a02f9; }
table.diff_tab tbody tr:first-child td { padding-top: 0.5em; } table.diff_tab tbody tr:first-child td { padding-top: 0.5em; }
table.diff_tab tbody tr:last-child td { padding-bottom: 0.5em; } table.diff_tab tbody tr:last-child td { padding-bottom: 0.5em; }