• Welcome to Simple Machines Community Forum. Please login or sign up.

profile and the number of characters in the nickname

Started by meccep45, August 19, 2021, 10:24:47 PM

Previous topic - Next topic

meccep45

if there are 3 characters in the nickname, the menu is like this.
You cannot see attachments on this board.

if there are 8 characters in the nickname, the menu is like this.
You cannot see attachments on this board.

of course, you can limit the nickname from 8 characters, but this is not an option.

Antechinus

Find this in index.css:
.profile_user_links li {
    font-size: .8rem;
    line-height: 2em;
    padding-left: 24px;
    text-indent: -24px;
    -webkit-hyphens: auto;
    hyphens: auto;
}

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

meccep45


Antechinus

Cool. I might put in a bug report about this. Easy fix for 2.1 Final.

meccep45

Quote from: Antechinus on August 20, 2021, 03:32:13 AMCool. I might put in a bug report about this. Easy fix for 2.1 Final.
this is a very necessary correction when translating words into other languages. thanks for the help.

meccep45

/* Highlighted text - such as search results. */
.highlight {
    font-weight: bold;
    color: #ff7200 !important;
    font-size: 1.1em;
    background-color: inherit;
the new update disables the solution to the problem
background-color: inherit;

meccep45

by default
.profile_user_links li {
font-size: .8rem;
line-height: 2em;
padding-left: 24px;
text-indent: -24px;
-webkit-hyphens: auto;
hyphens: auto;
I've tweaked it a bit
.profile_user_links li {
font-size: .8rem;
line-height: 2em;
padding-left: 134px;
text-indent: -134px;
-webkit-hyphens: auto;
hyphens: auto;
I'm happy

Advertisement: