Add border on hover for code blocks

Signed-off-by: Oliver Hunt <oliver@hunt.bz>
pull/4259/head
Oliver Hunt 2017-06-09 17:03:29 +01:00
parent 387c334d41
commit b032accdfa
1 changed files with 5 additions and 0 deletions

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 #f8f8f8;
}
.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
{ {