Skip to content

Commit b032acc

Browse files
committed
Add border on hover for code blocks
Signed-off-by: Oliver Hunt <oliver@hunt.bz>
1 parent 387c334 commit b032acc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,11 @@ limitations under the License.
345345
}
346346
.mx_EventTile_body pre {
347347
position: relative;
348+
border: 1px solid #f8f8f8;
349+
}
350+
.mx_EventTile:hover .mx_EventTile_body pre
351+
{
352+
border: 1px solid $primary-hairline-color;
348353
}
349354
.mx_EventTile_body pre:hover .mx_EventTile_copyButton
350355
{

0 commit comments

Comments
 (0)