mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-08 12:28:32 +02:00
fixed a copy button position on scrolled code blocks (#399)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
(function () {
|
||||
let codeBlocks = document.querySelectorAll('pre > code');
|
||||
let codeBlocks = document.querySelectorAll('.highlight > pre');
|
||||
|
||||
const codeClipboard = new ClipboardJS('.copy-code__btn');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user