Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Widget Not remaining in column and overlapping another widget

dagarson
Tera Guru

Hello I am having an issue in the portal where I am trying to add this widget to 9 by 3 container layout but one of my widgets isnt respecting that layout and is taking up the entire length of the container and overlapping another widget. Its a new container that has been added to the page. Here are some screenshots.

 

dagarson_1-1729180105292.pngdagarson_2-1729180220359.png

If I look at it in the widget customizations it shows how id want them to be contained(other than the fact its cut off) 

dagarson_3-1729180310781.png

 

Any assistance would be appreciated.

1 ACCEPTED SOLUTION

debendudas
Mega Sage
Mega Sage

Hi @dagarson ,

This is a CSS issue present in the widget shown in the below screenshot:

debendudas_0-1729182419769.png

Try to not hardcode the width of the html elements by defining a fixed "px", instead use percentage (%).

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍 ! 

View solution in original post

2 REPLIES 2

debendudas
Mega Sage
Mega Sage

Hi @dagarson ,

This is a CSS issue present in the widget shown in the below screenshot:

debendudas_0-1729182419769.png

Try to not hardcode the width of the html elements by defining a fixed "px", instead use percentage (%).

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍 ! 

yep you were right thank you.