From bd693768ccb36794a38eadcf896e8a3fb9f7eed2 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 18 Jul 2017 17:45:17 +0100 Subject: [PATCH] deliberately de-theme pre tags --- .../vector/css/matrix-react-sdk/views/rooms/_EventTile.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss index 38da1cc1..cf148603 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss @@ -316,7 +316,7 @@ limitations under the License. font-family: inherit ! important; white-space: normal ! important; line-height: inherit ! important; - color: inherit; + color: inherit; // inherit the colour from the dark or light theme by default (but not for code blocks) font-size: 14px; } @@ -330,6 +330,7 @@ limitations under the License. } .mx_EventTile_content .markdown-body code { + // deliberate constants as we're behind an invert filter background-color: #f8f8f8; color: #333; } @@ -353,7 +354,7 @@ limitations under the License. .mx_EventTile:hover .mx_EventTile_body pre { - border: 1px solid $primary-hairline-color; + border: 1px solid #e5e5e5; // deliberate constant as we're behind an invert filter } .mx_EventTile_body pre:hover .mx_EventTile_copyButton