vendor/assets/scss/forms/_text.scss in foundation-rails-6.4.3.0 vs vendor/assets/scss/forms/_text.scss in foundation-rails-6.5.1.0
- old
+ new
@@ -137,15 +137,10 @@
}
}
input,
textarea {
- // Placeholder text
- &::placeholder {
- color: $input-placeholder-color;
- }
-
// Disabled/readonly state
&:disabled,
&[readonly] {
background-color: $input-background-disabled;
cursor: $input-cursor-disabled;
@@ -165,15 +160,20 @@
}
// Number input styles
[type='number'] {
@if not $input-number-spinners {
- -moz-appearance: textfield; // sass-lint:disable-line no-vendor-prefix
+ -moz-appearance: textfield; // sass-lint:disable-line no-vendor-prefixes
&::-webkit-inner-spin-button,
&::-webkit-outer-spin-button {
- -webkit-appearance: none; // sass-lint:disable-line no-vendor-prefix
+ -webkit-appearance: none; // sass-lint:disable-line no-vendor-prefixes
margin: 0;
}
}
+ }
+
+ // Placeholder text
+ ::placeholder {
+ color: $input-placeholder-color;
}
}