center "what you type" in /formatting vertically

master
Aevann 2023-04-25 13:19:00 +02:00
parent b952de3cee
commit 075d9de79b
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ function addFormattingCopyButtons() {
textCopyButtonDiv.appendChild(textCopyButton);
textCopyButtonDiv.className = "mr-4 ml-auto my-auto";
row.cells[1].classList.add('d-flex');
row.cells[1].appendChild(textCopyButtonDiv);
const x = row.cells[1].innerHTML
row.cells[1].innerHTML = `<div class="d-flex">${x}${textCopyButtonDiv.outerHTML}</div>`
}
}