# Bug DREAM-636 - Chart doesn't expand and Cost list is cut when costs go over budget

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-636

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system, Modules and project features / Costs and budgets, Modules and project features / Project overview |
| Target versions | 17.2.0 |
| Observed in versions | 17.2.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.2.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Henriette Darge |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as a project admin

2.  Create a budget and remember the budget total

3.  Take care that the budgets widget can show data
    
    log cost to a work package
    
    or log time to a work package with a user that has a [hourly rate defined](https://www.openproject.org/docs/user-guide/time-and-costs/time-tracking/#define-hourly-rate-for-labor-costs)
    
    make sure the work package for which time or cost is logged has the "Budget" field being set

4.  Make sure the spent costs are more than the planned budget

### What is the buggy behaviour?

  - Actual costs by month widget doesn't show all the cost types

  - Chart doesn't expand to take more space on the widget

### What is the expected behaviour?

1.  Not sure 😅 since it's related to screen size
    
    <br>

### Important note

example project to see the bug: <https://qa.openproject-stage.com/projects/cecile-single-project-for-budget-test>

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919419/content">

### Environment information

**OpenProject version**

<br>

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
