Description field is not getting auto expand in service portal like self service view.

anupriya7
Kilo Expert

has anybody faced this kind of issue?

In the below screen shot end user is not able to see all the content of description field and needs to scroll down. that should get auto expand   in portal view as self service and legacy view .

find_real_file.pngfind_real_file.png

In this snapshot of self service view description field get auto expand.

find_real_file.png

1 ACCEPTED SOLUTION

Ivano B
ServiceNow Employee
ServiceNow Employee

Hi Anupriya



I would suggest to inject some CSS on the form widget instance in order to increase the height of the field.


Unfortunately it seem that the CSS in the main UI is calculated dynamically to be adjusted to the content this does not happen in the service portal.



You can use some CSS in the CSS field of the instance record,


This a possible example.




Form___ServiceNow 2.png



Cheers


R0b0


View solution in original post

10 REPLIES 10

Ivano B
ServiceNow Employee
ServiceNow Employee

Hi Anupriya



I would suggest to inject some CSS on the form widget instance in order to increase the height of the field.


Unfortunately it seem that the CSS in the main UI is calculated dynamically to be adjusted to the content this does not happen in the service portal.



You can use some CSS in the CSS field of the instance record,


This a possible example.




Form___ServiceNow 2.png



Cheers


R0b0


Did that work on IE 11?


vinothkumar
Tera Guru

Hi Anu,



Please check the below link,   the issue mentioned here was documented



ServiceNow KB: In Service Portal, a multi-line text field does not resize to display all content whe...


Hi Vinoth,


I tried this KB it does not seem to work on IE 11 for me.


Any ideas?