If Libreoffice looks weirdly ugly and you're on a debian-based distro, try installing `libreoffice-gtk3`.
sudo apt purge libreoffice* sudo apt install libreoffice-gtk3