# Bug OP-11657 - Bad Spacing between versions in Roadmap page

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-11657

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.4.1 |
| Observed in versions |  |
| Sprint | 12.4.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Context:
      - A project with multiple versions
      - Some of the versions do not have any work packages associated with it
      - Some of the version have a due date, and no start date
2.  Go to the Roadmap page

### What is the buggy behavior?

  - Spacing of elements is bad. It looks like the heading belongs to the previous paragraph
      - Logically related elements should be grouped, and provide enough  
        whitespace between them
      - It's not the case with versions without any work packages
      - It's not the case with versions having only a due date, because there is some space allocated for the start date, even when absent

### What is the expected behavior?

1.  Group things together without unnecessary spacing
    1.  each version section should be separated from the other

### Screenshots and other files

versions without any work packages:

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

finish date and no start date:

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

### Environment information

**OpenProject installation type**

- [ ] Hosted cloud edition
- [ ] Packaged installation
    - What distribution?
- [ ] Docker All-in-one container
- [ ] Docker-compose installation
- [x] Other (please specify)
  - [x] Community

**OpenProject version**

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-p op-uc-table--cell">12.4.1.b16887fb7f</td><td class="op-uc-p op-uc-table--cell">Mon, 12 Dec 2022 12:11:06 GMT <a class="op-uc-link" href="https://github.com/opf/saas-openproject/commit/b16887fb7f">b16887fb7f</a></td></tr></tbody></table></figure>

**Browser**

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