<div th:remove="tag" th:fragment="logo">
    <style>
        .halo-logo {
            width: 100%;
            display: flex;
            justify-content: center;
            margin-bottom: 1.5em;
        }

        .halo-logo img {
            width: 6em;
        }
    </style>
    <div class="halo-logo">
        <img th:src="${theme.config.login_page.custom_login_logo}" th:style="|width: ${theme.config.login_page.custom_login_logo_size}%|" alt="Custom Logo">
    </div>
</div>