Код:
<!-- Реакции и плюсы в одну линию by Vandra -->
<script>
function moveReactions() {
    document.querySelectorAll('.post-body').forEach(postBody => {
        const postBox = postBody.querySelector('.post-box');
        const reactionsRoot = postBody.querySelector('.reactions-root');

        if (postBox && reactionsRoot && !postBox.contains(reactionsRoot)) {
            postBox.appendChild(reactionsRoot);
        }
    });
}

function observeReactions() {
    document.querySelectorAll('.post-body').forEach(postBody => {
        new MutationObserver((mutationsList) => {
            if (mutationsList.some(mutation =>
                Array.from(mutation.addedNodes).some(node => node.classList?.contains('reactions-root'))
            )) {
                moveReactions(); 
            }
        }).observe(postBody, { childList: true, subtree: false });
    });
}

window.addEventListener('load', () => {
    moveReactions();
    observeReactions();
});

</script>
Подпись автора

Текст Текст Текст
https://i.imgur.com/6ri3pKD.gif