Skip to content

Commit

Permalink
Merge pull request #2655 from aaronraimist/fix-pre-dark
Browse files Browse the repository at this point in the history
Make pre use the same text color as code
  • Loading branch information
turt2live committed Feb 16, 2019
2 parents b27f368 + 9bc0ae7 commit 25525f9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,13 @@ limitations under the License.
.mx_EventTile_content .markdown-body code {
// deliberate constants as we're behind an invert filter
background-color: #f8f8f8;
color: #333;
}

.mx_EventTile_content .markdown-body {
pre, code {
// deliberate constants as we're behind an invert filter
color: #333;
}
}

.mx_EventTile_pre_container {
Expand Down

0 comments on commit 25525f9

Please sign in to comment.