Improve alignement
This commit is contained in:
parent
8fe6d54cac
commit
ae44358326
2 changed files with 4 additions and 7 deletions
|
@ -3,6 +3,7 @@ addCopyButtons(navigator.clipboard)
|
|||
function addCopyButtons(clipboard) {
|
||||
document.querySelectorAll('pre > code').forEach(function (codeBlock) {
|
||||
const button = document.createElement('a')
|
||||
button.title = "Copy"
|
||||
button.className = 'copy-code-button'
|
||||
button.innerHTML = "<i class='fa-regular fa-copy'></i>"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue