mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Merge pull request #4259 from ollieh/code-block-border
Add border on hover for code blocks
This commit is contained in:
commit
4afec6fb7f
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user