All 35 Bugs /
0/35 Fixed ✓
HTML/CSSEasy~8 min

Flexbox Overflow Text-Truncation Bug

What's Broken (Symptom)

Long filename text breaks out of the 320px flex row instead of showing ellipsis (...), pushing the Delete button outside the box.

Expected Behavior

  • `.file-info` stays constrained within `.file-row` without overflowing horizontally.
  • `.file-name` shows clean single-line `text-overflow: ellipsis`.
  • The `Delete` button stays completely inside the 320px row boundaries.

Debugging Hints (0/2 used)

Try spotting the bug in the editor first. Need a nudge? Reveal Hint 1 anytime.

Root Cause Breakdown

Pass all 3 automated verification checks on the right to unlock the full Root Cause explanation.

Automated Bug Verification

3 Checks Ready
  • Flex text wrapper sets min-width: 0.file-info must allow shrinking below intrinsic content width.
  • Row does not overflow horizontally beyond 320pxscrollWidth must match clientWidth on .file-row.
  • Delete button remains inside row boundsRight edge of delete button must stay inside .file-row.
bugfix.html
Live Sandboxed PreviewCtrl + Enter to verify
Console Output0 log(s)
No console output yet. Run Preview or Verify Bug Fix.