# Bug OP-7164 - Closing icon overlaps modal header when the content is small

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.6.2 |
| Observed in versions |  |
| Sprint | 10.6.2 |
| 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.  Go to a project overview page
2.  Add the &quot;spent time&quot; widget
3.  Delete an entry from the list

### **Actual Behavior**

*   The closing icon overlaps the modal header

![](/api/v3/attachments/18081/content)

### **Expected Behavior**

*   The icon should not overlap the header

**Note:** This is not specific for this modal, but for all our modal, it the content is rather small. Thus, be sure, to find a general solution that works for all modals.
