Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Prevent responsive widget graphs from overflowing

Inga Mai09c4fe2ecdd8
diff --git a/frontend/src/app/modules/grids/widgets/wp-graph/wp-graph.component.html b/frontend/src/app/modules/grids/widgets/wp-graph/wp-graph.component.html
index 1c764c173bf..1889abf47b8 100644
--- a/frontend/src/app/modules/grids/widgets/wp-graph/wp-graph.component.html
+++ b/frontend/src/app/modules/grids/widgets/wp-graph/wp-graph.component.html
@@ -9,7 +9,7 @@
</widget-wp-graph-menu>
</widget-header>
-<wp-embedded-graph class='grid--widget-content'
+<wp-embedded-graph class='grid--widget-content -no-overflow'
[datasets]="datasets"
[chartType]="chartType">
</wp-embedded-graph>
diff --git a/frontend/src/app/modules/grids/widgets/wp-overview/wp-overview.component.html b/frontend/src/app/modules/grids/widgets/wp-overview/wp-overview.component.html
index c6ca73f6776..b112df72352 100644
--- a/frontend/src/app/modules/grids/widgets/wp-overview/wp-overview.component.html
+++ b/frontend/src/app/modules/grids/widgets/wp-overview/wp-overview.component.html
@@ -9,6 +9,6 @@
</widget-header>
<wp-overview-graph
- class='grid--widget-content'
+ class='grid--widget-content -no-overflow'
[groupBy]="'type'">
</wp-overview-graph>