How do you resize the height of a report widget instance on the Service Portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2019 08:19 AM
The reports in the Service Portal, using the OOB widget, are very large. I have been able to resize the container and the frame with CSS, but the report just gets cut off. Is there way to set the size of the report when displayed in the Service Portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2020 05:32 AM
Hi Jeffrey,
a) if you are using the OOTB Report widget on your page:
- set "CSS class" on the widget container, then in the Page CSS you can set the height of it:
.your-container-class-name .chart-container {
height: 200px;
}
b) if it is an embedded Report widget in one of your existing widgets:
- set these styles in your widget CSS:
.chart-container {
height: 200px;
}
You can wrap the report widget in a div with a class, then you can be more specific like in a).
Note: "chart-container" is a HTML element in the OOTB Report widget.