forked from rDrama/rDrama
center "what you type" in /formatting vertically
parent
b952de3cee
commit
075d9de79b
|
@ -32,8 +32,8 @@ function addFormattingCopyButtons() {
|
||||||
textCopyButtonDiv.appendChild(textCopyButton);
|
textCopyButtonDiv.appendChild(textCopyButton);
|
||||||
textCopyButtonDiv.className = "mr-4 ml-auto my-auto";
|
textCopyButtonDiv.className = "mr-4 ml-auto my-auto";
|
||||||
|
|
||||||
row.cells[1].classList.add('d-flex');
|
const x = row.cells[1].innerHTML
|
||||||
row.cells[1].appendChild(textCopyButtonDiv);
|
row.cells[1].innerHTML = `<div class="d-flex">${x}${textCopyButtonDiv.outerHTML}</div>`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue