# Bug OP-13147 - Modal action buttons are too far away from each other

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.0.1 |
| Observed in versions | 13.0.0 |
| Sprint | 13.0.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.0.x |
| 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.  Go to the Work Package table page
2.  Via the menu in the upper right corner, click "group by"
3.  (Same happens for all other modals with more than one button at the bottom)

### What is the buggy behavior?

  - The buttons are too far awar from each other, due to both having a margin of 16px to each side.

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

### What is the expected behavior?

1.  The buttons should be closer to each other: instead of total 32px only 16px
2.  When fixing this, take care that <mention class="mention" data-id="47994" data-type="work_package" data-text="##47994">##47994</mention> is respected as well, as the regression was introduced by the fix for that.

### Environment information

**Browser**

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

**Language**

*German*
