Content
View differences
Updated by Henriette Darge 6 months ago
### Steps to reproduce
* Have a project with a very long project description
* Go to the Overview page of that project
### What is the buggy behavior?
* The first widget is so large that you can't see any of the widgets below
<img class="image_resized op-uc-image op-uc-image_inline" style="width:386px;" src="/api/v3/attachments/861776/content">
<br>
### What is the expected behavior?
* The description should be limited. We apply the same mechanism we use for long text project attributes:
* X lines are shown and then there is a small button with three dots (see image).
* Clicking that, opens a modal with the complete value.
* For the description X will be 15, 10, for the project attributes it remains at 3
* Formatting of the descriptions get ignored (headlines, font weight, tables, images..). Everything gets transformed to text only.
* The same mechanism is applied to the the project status widget (project status description, show max 5 lines), the portfolio description on the portfolio overview (show max 3 lines)
<img class="image_resized op-uc-image op-uc-image_inline" style="width:315px;" src="/api/v3/attachments/861775/content">
###
### Environment information
**OpenProject version**
_17.0_
* Have a project with a very long project description
* Go to the Overview page of that project
### What is the buggy behavior?
* The first widget is so large that you can't see any of the widgets below
<img class="image_resized op-uc-image op-uc-image_inline" style="width:386px;" src="/api/v3/attachments/861776/content">
<br>
### What is the expected behavior?
* The description should be limited. We apply the same mechanism we use for long text project attributes:
* X lines are shown and then there is a small button with three dots (see image).
* Clicking that, opens a modal with the complete value.
* For the description X will be 15,
* Formatting of the descriptions get ignored (headlines, font weight, tables, images..). Everything gets transformed to text only.
* The same mechanism is applied to the the project status widget (project status description, show max 5 lines), the portfolio description on the portfolio overview (show max 3 lines)
###
### Environment information
**OpenProject version**
_17.0_