aboutsummaryrefslogtreecommitdiff
path: root/scss/forms/_floating-labels.scss
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2022-10-30 02:30:59 +0200
committerGitHub <[email protected]>2022-10-29 20:30:59 -0400
commit06bed9b45af290b05fed9ec003a89af1d3baf6a4 (patch)
tree2e21571b014357439b8c41cee058c1a0f607c178 /scss/forms/_floating-labels.scss
parent678dde8f984a00cc56724721252a0e5f49cca3fb (diff)
downloadbootstrap-06bed9b45af290b05fed9ec003a89af1d3baf6a4.tar.xz
bootstrap-06bed9b45af290b05fed9ec003a89af1d3baf6a4.zip
Fix disabled floating labels and add some examples of it in the docs (#37299)
* Fix disabled floating labels and add some examples of it in the docs * Add disabled custom height textarea
Diffstat (limited to 'scss/forms/_floating-labels.scss')
-rw-r--r--scss/forms/_floating-labels.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/forms/_floating-labels.scss b/scss/forms/_floating-labels.scss
index 93c1c2205..e5e35d326 100644
--- a/scss/forms/_floating-labels.scss
+++ b/scss/forms/_floating-labels.scss
@@ -1,7 +1,7 @@
.form-floating {
position: relative;
- &::before {
+ &::before:not(.form-control:disabled) {
position: absolute;
top: $input-border-width;
left: $input-border-width;