Add Scroll Bar on Service Portal Custom Widget

ayush_saxena
Tera Expert

Hello Folks,

Is it possible to add a scroll bar to a custom widget ? Basically, we want to maintain the height and width of a widget within the container and add scroll bar instead of changing the size of the widget.

Has anyone achieved this before ?

Regards,

Ayush Saxena

 

  

1 ACCEPTED SOLUTION

Thanks Sachin,

 

That solution is for simple lists, anyways one plausible solution I see a fit is adding CSS 

.panel-body {
overflow-y: auto;
height: 250px;
}

 

It kind of works !!

View solution in original post

3 REPLIES 3

sachin_namjoshi
Kilo Patron
Kilo Patron

Thanks Sachin,

 

That solution is for simple lists, anyways one plausible solution I see a fit is adding CSS 

.panel-body {
overflow-y: auto;
height: 250px;
}

 

It kind of works !!

Hi Sachin,

Any idea how can I add a scrollbar to widget using portal content record? I have created a portal content record of type Rich Text. I would like to display this content - just a single record - in a widget on the HR Service Portal. I need a simple widget with a vertical scrollbar as the rich text can get long. I tried with the Announcement widget but the scrollbar doesn't work there (it is a carousel). 

Appreciate any help!

Thanks!