Make "Copy" button smaller

This commit is contained in:
Bruno Alla 2025-12-15 15:51:50 +00:00
parent 082b6b6b58
commit 1187d01a79

View File

@ -1,7 +1,7 @@
document.addEventListener("DOMContentLoaded", function () {
document.querySelectorAll("pre > code").forEach(function (codeBlock) {
const button = document.createElement("button");
button.className = "copy-block-button btn btn-inverse btn-small";
button.className = "copy-block-button btn btn-inverse btn-mini";
button.type = "button";
button.textContent = "Copy";