aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less/markup/codecopy.less
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/less/markup/codecopy.less')
-rw-r--r--web_src/less/markup/codecopy.less6
1 files changed, 4 insertions, 2 deletions
diff --git a/web_src/less/markup/codecopy.less b/web_src/less/markup/codecopy.less
index b2ce77aaa1..f6f9894fc1 100644
--- a/web_src/less/markup/codecopy.less
+++ b/web_src/less/markup/codecopy.less
@@ -1,4 +1,5 @@
-.markup .code-block {
+.markup .code-block,
+.markup .mermaid-block {
position: relative;
}
@@ -26,7 +27,8 @@
background: var(--color-secondary-dark-1) !important;
}
-.markup .code-block:hover .code-copy {
+.markup .code-block:hover .code-copy,
+.markup .mermaid-block:hover .code-copy {
visibility: visible;
animation: fadein .2s both;
}