Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 2,342: Line 2,342:
     .search-toggle {
     .search-toggle {
         padding: 0 4px !important;
         padding: 0 4px !important;
    }
}
/* --- FIX PARA O CABEÇALHO EM LINHA ÚNICA --- */
@media screen and (max-width: 720px) {
    /* 1. Força o container principal a não quebrar linha */
    .mw-header {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 54px !important; /* Altura fixa para evitar expansão */
    }
    /* 2. Esconde o texto do nome de utilizador para caberem os ícones */
    .vector-user-links-main .mw-list-item span:not(.vector-icon) {
        display: none !important;
    }
    /* 3. Ajusta o container final (icones da direita) */
    .vector-header-end {
        display: flex !important;
        flex-grow: 1 !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 8px !important; /* Espaço entre ícones */
    }
    /* 4. Garante que o logo não ocupa espaço demais */
    .mw-header-start {
        flex-shrink: 0 !important;
        padding-right: 10px !important;
     }
     }
}
}