From a9dfd4da2d8e60fb06e0740b02a22ea7eff6b508 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 18 Jun 2017 21:37:17 +0100 Subject: [PATCH] Merge pull request #4259 from ollieh/code-block-border Add border on hover for code blocks --- .../vector/css/matrix-react-sdk/views/rooms/_EventTile.scss | 5 +++++ 1 file changed, 5 insertions(+) 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 a980d1f9c..7d8e4ba2b 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 @@ -345,6 +345,11 @@ limitations under the License. } .mx_EventTile_body pre { position: relative; + border: 1px solid transparent; +} +.mx_EventTile:hover .mx_EventTile_body pre +{ + border: 1px solid $primary-hairline-color; } .mx_EventTile_body pre:hover .mx_EventTile_copyButton {