Skip to content

Commit

Permalink
webView: Improve styles of code blocks. (#1823)
Browse files Browse the repository at this point in the history
* webView: Improve styles of code blocks.

* webView: Remove duplicate CSS styles.
  • Loading branch information
jainkuniya authored and borisyankov committed Feb 28, 2018
1 parent d96a179 commit c1f40b0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/render-html/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ code {
font-size: .857em;
white-space: pre-wrap;
padding: 0 0.25em;
}
pre {
padding: 0.5em;
margin: 0.5em 0;
font-size: 0.75em;
overflow: scroll;
white-space: pre;
overflow-x: auto;
word-wrap: normal;
}
code, pre {
border-radius: 3px;
Expand Down Expand Up @@ -163,9 +164,6 @@ hr {
.topic-text {
flex: 1;
padding-left: 0.5em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
background: #ccc;
}
[data-mentioned="true"], [data-wildcard_mentioned="true"] {
Expand Down

0 comments on commit c1f40b0

Please sign in to comment.