News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

'Edit profile' posts field width

Started by Speed King, August 15, 2022, 01:59:07 AM

Previous topic - Next topic

Speed King

Hello,

I'm using SMF 2.1
When I try to edit number of posts for users with more than 10,000 posts, the last digit in appropriate field is not visible:

Click =>

Is it possible to increase the width of that field?

GL700Wing

#1
Quote from: Speed King on August 15, 2022, 01:59:07 AMHello,

I'm using SMF 2.1
When I try to edit number of posts for users with more than 10,000 posts, the last digit in appropriate field is not visible:

...

Is it possible to increase the width of that field?
@Speed King : Yep - you can increase the width of what is displayed in this input field as follows:

Edit  ./Themes/default/css/index.css  and add the following line to the end of the file:
dl.settings dd input#posts {
    width: calc(8ch + 15px + 0.8em);
    }

In the code above the SMF 2.1 default value of '4ch' has been increased to '8ch' and you can adjust the display width of this field to suit your needs by increasing/decreasing this value.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Speed King


Steve

DO NOT pm me for support!

Advertisement: