hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

[BUG] UI: Text overflow causes clipping and incorrect border rendering in the title/display area.

Open KOYR opened this issue 11 months ago • 2 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

Image

The overflowing text content in the Settings/Labels page is vertically clipped, causing the bottom of the text to be cut off.

A misaligned or incorrectly sized red border appears around the clipped area. (The red border suggests a warning or error state, but its improper rendering makes the issue worse).

Expected Behavior

Text Handling: The component should handle overflow gracefully:

Ideally, the text should display an ellipsis (...) at the end, and the full content should be accessible via a tooltip on hover.

Alternatively, the text should wrap if the container height is designed to accommodate multiple lines.

Border/Style: The bounding box (e.g., the red border for the error state) should correctly encompass the entire expected content area and not cut off the text.

Steps To Reproduce

  1. Create or load a data entry with an identifier string that is long enough to overflow the container's designated display width.Example string shown in the image: TEST:XXXXONE - XXXXTWO - XXXTHREE
  2. View the list or card containing this long entry.

Environment

HertzBeat version(s): 1.7.3

Debug logs

No response

Anything else?

No response

KOYR avatar Dec 11 '25 17:12 KOYR

Hi team, I'd like to fix this UI bug on the Settings/Labels page. Please assign the issue to me. Thanks!

KOYR avatar Dec 11 '25 17:12 KOYR

👍🏿 Welcome

Duansg avatar Dec 11 '25 17:12 Duansg