# Bug DREAM-267 - Missing space when putting multiple CollapsibleSections below each other

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system |
| Target versions | 16.0.0 |
| Observed in versions | 15.5.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.5.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

  - \[Technical\] Create multiple CollapsibleSections below each other

  - Collapse some

**Hint for QA**

Since we don't have this in production yet, this is hard to test. It can be tested when going to <https://qa.openproject-edge.com/lookbook/inspect/primer/open_project/collapsible_section/collapsed> and inspecting via the browser dev tools.

<br>

### What is the buggy behavior?

  - There is no space under the open sections, but one below the closed ones

  - Looking at the component, the collapsed header is too large

<img class="image_resized op-uc-image op-uc-image_inline" style="width:570px;" src="/api/v3/attachments/431756/content">

### What is the expected behavior?

  - The spacing should be the same everywhere

  - A collapsed section should only be as high as the title

<img class="image_resized op-uc-image op-uc-image_inline" style="width:577px;" src="/api/v3/attachments/431753/content">

### 

### 

### Environment information

<br>

**OpenProject version**

*16.0*

**Browser**

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

**Operating System**

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

<br>
