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

Allow inner scrolling on project description widget

Henriette Dingerd3e473c001a8
diff --git a/app/assets/stylesheets/content/_grid.sass b/app/assets/stylesheets/content/_grid.sass
index 447a058d708..f1495208874 100644
--- a/app/assets/stylesheets/content/_grid.sass
+++ b/app/assets/stylesheets/content/_grid.sass
@@ -139,6 +139,11 @@ body.widget-grid-layout
overflow-y: hidden
display: block
+ &.-allow-inner-overflow
+ .wiki
+ overflow-y: auto
+ @include styled-scroll-bar
+
// styles specific to the custom-text widget
&.-custom-text
a.inplace-editing--trigger-link
diff --git a/frontend/src/app/modules/grids/widgets/custom-text/custom-text.component.html b/frontend/src/app/modules/grids/widgets/custom-text/custom-text.component.html
index f4543e5c244..3aac58d6841 100644
--- a/frontend/src/app/modules/grids/widgets/custom-text/custom-text.component.html
+++ b/frontend/src/app/modules/grids/widgets/custom-text/custom-text.component.html
@@ -19,7 +19,7 @@
</span>
</ng-template>
-<div class="grid--widget-content -custom-text">
+<div class="grid--widget-content -custom-text -allow-inner-overflow">
<div class="inline-edit--container inplace-edit">
<edit-form-portal *ngIf="active"
[schemaInput]="schema"
diff --git a/frontend/src/app/modules/grids/widgets/project-description/project-description.component.html b/frontend/src/app/modules/grids/widgets/project-description/project-description.component.html
index b6514a714d7..7c2341aebc2 100644
--- a/frontend/src/app/modules/grids/widgets/project-description/project-description.component.html
+++ b/frontend/src/app/modules/grids/widgets/project-description/project-description.component.html
@@ -7,7 +7,7 @@
</widget-menu>
</widget-header>
-<div class="grid--widget-content">
+<div class="grid--widget-content -allow-inner-overflow">
<edit-form *ngIf="(project$ | async) as project"
[resource]="project">
<editable-attribute-field [resource]="project"
diff --git a/frontend/src/app/modules/grids/widgets/project-status/project-status.component.html b/frontend/src/app/modules/grids/widgets/project-status/project-status.component.html
index 7a2218e29da..e9cf92fe209 100644
--- a/frontend/src/app/modules/grids/widgets/project-status/project-status.component.html
+++ b/frontend/src/app/modules/grids/widgets/project-status/project-status.component.html
@@ -7,7 +7,7 @@
</widget-menu>
</widget-header>
-<div class="grid--widget-content">
+<div class="grid--widget-content -allow-inner-overflow">
<edit-form *ngIf="(project$ | async) as project" [resource]="project">
<div class="project-status--container">
<editable-attribute-field [resource]="project"