bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Bootstrap floating labels are no longer respecting text-overflow: ellipsis

Open zigazuzek opened this issue 6 months ago • 1 comments

Prerequisites

Describe the issue

Bootstrap floating labels are no longer respecting text-overflow: ellipsis

This happens:

when the floating form input is smaller in width compared to the label text. It used to work normally in previous Bootstrap versions.

.form-floating>label requires to have width: 100% set, otherwise text-overflow: ellipsis doesn't work.

Reduced test cases

You can test it in the Boostrap docs https://getbootstrap.com/docs/5.3/forms/floating-labels/

Make sure to test it with a smaller browser window,

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

5.3.3

zigazuzek avatar Aug 14 '24 12:08 zigazuzek