Page 2 of 2

Re: profile fields

Posted: Sat Jun 27, 2020 5:57 pm
by php_BB_Lover
david63 wrote:
Sat Jun 27, 2020 5:45 pm
php_BB_Lover wrote:
Sat Jun 27, 2020 5:05 pm
david63 wrote:
Sat Jun 27, 2020 11:42 am
If I recall correctly this issue has been raised in the past and the problem is that the css is overriding the cpf settings - not sure if it ever made it to the bug tracker
Do you have any idea how to fix this?
If it is what I think it is then it requires quite a bit of work to the core - it is not a simple fix
Okay thanks

Re: Profile fields - textarea cols [Bug]

Posted: Sat Jun 27, 2020 6:26 pm
by rxu
cols attribute effect got overridden by the width property here https://github.com/phpbb/phpbb/blob/650 ... s.css#L305

Re: Profile fields - textarea cols [Bug]

Posted: Sat Jun 27, 2020 6:51 pm
by php_BB_Lover
rxu wrote:
Sat Jun 27, 2020 6:26 pm
cols attribute effect got overridden by the width property here https://github.com/phpbb/phpbb/blob/650 ... s.css#L305
i removed the inputbox class and also directly put a different cols but didn't fix the issue!

Re: Profile fields - textarea cols [Bug]

Posted: Sat Jun 27, 2020 7:04 pm
by KevC
What problem is it causing?

The corner of that box can be dragged to any size anyway. It keeps expanding to the character limit. The profile page then resizes it all to fit the space anyway.

Re: Profile fields - textarea cols [Bug]

Posted: Sat Jun 27, 2020 7:16 pm
by php_BB_Lover
who marked this topic as solved? its not solved yet!

Re: Profile fields - textarea cols [Bug]

Posted: Sun Jun 28, 2020 4:07 am
by rxu
php_BB_Lover wrote:
Sat Jun 27, 2020 6:51 pm
i removed the inputbox class and also directly put a different cols but didn't fix the issue!
Nobody said removing it should fix something. Also it can break the layout in any other places the property is used. But if you ok with that, you can try width: auto and clear the browser cache.

Re: Profile fields - textarea cols [Bug]

Posted: Sun Jun 28, 2020 4:35 am
by php_BB_Lover
rxu wrote:
Sun Jun 28, 2020 4:07 am
php_BB_Lover wrote:
Sat Jun 27, 2020 6:51 pm
i removed the inputbox class and also directly put a different cols but didn't fix the issue!
Nobody said removing it should fix something. Also it can break the layout in any other places the property is used. But if you ok with that, you can try width: auto and clear the browser cache.
i meant remove the inputbox class from textarea tag, not from css.
your right, overriding with width: auto fixes the issue! thank you,
but what is the proper way to permanently fix the problem?

Re: Profile fields - textarea cols [Bug]

Posted: Sun Jun 28, 2020 4:58 am
by rxu
Apparently by adding style="width: auto;" to the tag.

Re: Profile fields - textarea cols [Bug]

Posted: Sun Jun 28, 2020 5:44 am
by php_BB_Lover
rxu wrote:
Sun Jun 28, 2020 4:58 am
Apparently by adding style="width: auto;" to the tag.
temporary yes! but i guess we have to find the issue and fix it.
but anyway, thank you for width: auto

Re: Profile fields - textarea cols [Bug]

Posted: Sun Jun 28, 2020 6:13 am
by rxu
The issue is that particular one - width is overriding cols for textarea. That is just how HTML/CSS works.

Re: Profile fields - textarea cols [Bug]

Posted: Sun Jun 28, 2020 7:49 am
by php_BB_Lover
rxu wrote:
Sun Jun 28, 2020 6:13 am
The issue is that particular one - width is overriding cols for textarea. That is just how HTML/CSS works.
Okay, then please mark this topic as solved!
Thank you very much for help!