.tabs-right{ @media (min-width: 576px){ margin-top: -58px; } > ul >li:first-child{ margin-left: auto; } }