diff --git a/.changeset/dry-rice-march.md b/.changeset/dry-rice-march.md new file mode 100644 index 000000000..38c3de2eb --- /dev/null +++ b/.changeset/dry-rice-march.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Fix overflow of `label` in a `floating-input` diff --git a/core/scss/ui/_forms.scss b/core/scss/ui/_forms.scss index 78572fbf2..c7d4382ef 100644 --- a/core/scss/ui/_forms.scss +++ b/core/scss/ui/_forms.scss @@ -227,4 +227,15 @@ Upload files .form-file-button { margin-left: 0; border-left: 0; +} + +/** +Floating inputs + */ +// Fix for the bug in twbs/bootstrap v5.3.3. Issue #39080. Should be fixed in v5.3.4 +label[for="floating-input"] { + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } \ No newline at end of file