News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

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 ...

Speed King


Steve

Please do not PM me for support.

Advertisement: