# Bug OP-20322 - Border Box Table rows push the action menu off screen for long names on phones

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system |
| Target versions | 18.0.0 |
| Observed in versions |  |
| Sprint |  |
| 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 | Alexander Coles |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

**Context:** `OpPrimer::BorderBoxTableComponent` lays out rows below 768 px as a two-column grid with `grid-template-columns: 1fr auto`. A `1fr` track has an automatic minimum, so a main-column cell whose content does not wrap (the bold name link inside `flex_layout`, `ellipsis` on its column) grows to the content's width and pushes the actions column past the viewport edge. The desktop layout already uses `minmax(0, 1fr)` tracks.

**Observed:** on the Statuses admin page at 400 px, a status named "Awaiting review by the architecture and design review board" fills the row; its Default label is cut off and the row action menu trigger is off screen, so Edit / Move / Delete cannot be reached without horizontal scrolling. The same happens on the document types table of <https://github.com/opf/openproject/pull/25468> (<mention class="mention" data-id="DREAM-840" data-type="work_package" data-text="#DREAM-840">#DREAM-840</mention>), where review round 2 found it.

**Expected:** the name truncates with an ellipsis, the status label stays visible and the action trigger stays inside the viewport.

**Notes:** one-line fix in `app/components/op_primer/border_box_table_component.sass` (mobile track `minmax(0, 1fr) auto`) with a phone-width regression example on the Statuses admin page. Affects every Border Box Table consumer (statuses, roles, document types after <mention class="mention" data-id="DREAM-840" data-type="work_package" data-text="#DREAM-840">#DREAM-840</mention>, ...).
