Hello :star2: I would like to ask if there is a w...
# gooddata-ui
n
Hello 🌟 I would like to ask if there is a way for us to make the Insight smaller? Right now my Insight are pretty big on my web-page, and when i tried to make some insights smaller they stopped showing whenever i updated the page or added a filter to it. Is there a workaround to make the widgets smaller? 👀 I did get this link https://sdk.gooddata.com/gooddata-ui/docs/chart_config.html#enable-a-compact-size Good data specifies that the Insight needs to be a specific size in order to work i guess 👀 but is there a way around this? 😊
m
@Nicole Lopez Hello Nicole, all insights/charts in SDK should be responsive, so if you set the container height/width, it should fill the space you set
Copy code
<div style={{ height: 200, width: 300 }}>
  <InsightView />
</div>
Or what is your concrete use case? Could you share some screenshots or code, and what are you trying to achieve? 🙂
n
Hello @Matyáš Kandl I have done this to all my Insights but i was wondering if there is any way for me to do something like this:
Copy code
<div style={{ height: '100%', width: '100%' }}>
  <InsightView />
</div>
I need to decrease the size of the container where the Insight is.
1