Skip to main content
DannyPancratz
VIP ⭐️⭐️⭐️⭐️⭐️
Dec 20, 2022 2:47 PM UTC
Solved

What are the dimensions of the sidebar widgets?

If I was designing an image to display in a custom HTML sidebar widget, how wide can I go? 

olimarrio
olimarrioAnswer
Gainsight Employee ⭐️
Dec 22, 2022 10:46 AM UTC

Hey @DannyPancratz 👋,

The container within the sidebar is 364px but then by default we apply 24px padding for widgets placed within this. So long story short: 316px

It’s of course possible to go larger if you apply custom CSS to this widget but this is what the default behaviour is and will ensure alignment with all your other sidebar widgets.

@revote yes it scales nicely to mobile view too 👍

 

2 replies

revote
VIP ⭐️⭐️⭐️⭐️⭐️
Dec 20, 2022 3:22 PM UTC

If I was designing an image to display in a custom HTML sidebar widget, how wide can I go? 

And also, does it scale nicely to mobile view as well?

Translate
olimarrio
Gainsight Employee ⭐️
olimarrioAnswer
Gainsight Employee ⭐️
Dec 22, 2022 10:46 AM UTC

Hey @DannyPancratz 👋,

The container within the sidebar is 364px but then by default we apply 24px padding for widgets placed within this. So long story short: 316px

It’s of course possible to go larger if you apply custom CSS to this widget but this is what the default behaviour is and will ensure alignment with all your other sidebar widgets.

@revote yes it scales nicely to mobile view too 👍

 

Translate