Skip to content

Commit dd82436

Browse files
committed
Fix "Error: Undefined operation "var(--bs-border-width) * 2"" with Bootstrap 5.3
1 parent b3cbd42 commit dd82436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap-floating-label.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ $label-top-position-lg: $label-height-lg * 0.6; // 25px * 0.6 = 15px
6666
z-index: 3;
6767

6868
// Truncate the text label if larger than the input
69-
max-width: calc(100% - #{$input-border-width * 2});
69+
max-width: calc(100% - $input-border-width * 2);
7070
@include text-truncate();
7171
}
7272

0 commit comments

Comments
 (0)