Commit 3f1e93a
fix(preprod): Allow branch ref ellipsis in mobile builds table (EME-882) (#112774)
Truncate long Git branch names in the mobile builds table build column.
`Text` with `ellipsis` needs a parent with a definite bounded width.
Nested flex rows default to `min-width: auto`, so the VCS line grew with
the full branch name and ellipsis never applied. The build column now
sets `minWidth={0}` on the row cell and flex wrappers so the grid track
can shrink, wraps the head ref in a `flex={1}` `overflow="hidden"`
region so only that segment consumes leftover width, and adds a
`Tooltip` with `showOnlyOnOverflow` so reviewers can read the full ref
when it is clipped.
Column `minmax` templates in the size and distribution tables are
unchanged; this is strictly flex/grid shrink behavior inside the build
cell.
## Before
<img width="975" height="408" alt="Screenshot 2026-04-13 at 11 02 10"
src="https://github.com/user-attachments/assets/937ed8ea-7235-4648-b206-dc2b7fc1a97c"
/>
## After
<img width="850" height="472" alt="Screenshot 2026-04-13 at 11 20 52"
src="https://github.com/user-attachments/assets/854db4e4-7859-4e94-be6f-a22f3262be93"
/>
Made with [Cursor](https://cursor.com)
Co-authored-by: Cursor <noreply@cursor.com>1 parent 6d3af9d commit 3f1e93a
1 file changed
+14
-6
lines changedLines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
| 121 | + | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
156 | 164 | | |
157 | 165 | | |
158 | 166 | | |
| |||
0 commit comments