2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Fix x-paddings for select (with floating label, and in Firefox) (#34008)

This commit is contained in:
Gaël Poupard
2021-05-25 07:31:30 +02:00
committed by GitHub
parent 993b533dc6
commit bdde9b50a6
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -4,7 +4,6 @@
> .form-control,
> .form-select {
height: $form-floating-height;
padding: $form-floating-padding-y $form-floating-padding-x;
}
> label {
@@ -21,6 +20,8 @@
// stylelint-disable no-duplicate-selectors
> .form-control {
padding: $form-floating-padding-y $form-floating-padding-x;
&::placeholder {
color: transparent;
}