• Welcome to Simple Machines Community Forum. Please login or sign up.
October 23, 2021, 06:44:31 AM

News:

Check out the SMF Function DB!


#profile_menu_top tweak

Started by Antechinus, August 20, 2021, 03:35:41 AM

Previous topic - Next topic

Antechinus

August 20, 2021, 03:35:41 AM Last Edit: August 25, 2021, 12:02:55 PM by Diego Andrés
See: https://www.simplemachines.org/community/index.php?topic=578572.0

Basically, adding white-space: nowrap; to the drop menu links, to keep things tidy.

.profile_user_links li {
    font-size: .8rem;
    line-height: 2em;
    padding-left: 24px;
    text-indent: -24px;
    -webkit-hyphens: auto;
    hyphens: auto;
    white-space: nowrap;
}


Advertisement: