# Bug BNE-124 - Documents: overflow in the work package preview when the wp type is long

Project: Stream BlockNote extensions
Status: closed
URL: https://community.openproject.org/work_packages/BNE-124

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Documents, Modules and project features / Text editor / BlockNoteJS / OpenProject Extensions |
| Target versions | 17.9.0 |
| Observed in versions |  |
| Sprint | Sprint 14 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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.  Login and open a document
    
2.  Search for a work package to insert a link with #
    
3.  Select a work package that has a long work package type name
    
4.  Hover over the link to see the preview
    

### What is the buggy behavior?

*   Overflow&nbsp;
    

<img class="op-uc-image op-uc-image_inline" src="https://community.openproject.org/api/v3/attachments/922986/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/922986/content">

### What is the expected behavior?

1.  There should be no overflow when the type is too long
    

### Environment information

17.7

**Browser**

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

**Operating System**

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

**Language**

_Please specify the browser language and the language of the OpenProject user for which the bug occurred._
