Merge pull request from ollieh/code-block-border

Add border on hover for code blocks
This commit is contained in:
Matthew Hodgson 2017-06-18 21:37:17 +01:00 committed by David Baker
parent 8cf6712426
commit a9dfd4da2d
1 changed files with 5 additions and 0 deletions
src/skins/vector/css/matrix-react-sdk/views/rooms

View File

@ -345,6 +345,11 @@ limitations under the License.
} }
.mx_EventTile_body pre { .mx_EventTile_body pre {
position: relative; 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 .mx_EventTile_body pre:hover .mx_EventTile_copyButton
{ {