Skip to content

Commit f3a8930

Browse files
committed
No background on text-field label when no value
1 parent a00f9b7 commit f3a8930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/pastanaga-angular/src/styles/components/_textfields.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
}
6666
// Definition specific for text field labels
6767
.pa-field-label {
68-
background: $color-background-field-label;
6968
border-radius: $border-radius-field;
7069
color: $color-text-field-label-regular;
7170
left: $padding-field-control-left;
@@ -137,6 +136,7 @@
137136
&:not(:disabled):not(:read-only):focus,
138137
&:not(:disabled):not(:read-only):active {
139138
& ~ .pa-field-label {
139+
background: $color-background-field-label;
140140
transform: scale(#{$scale-text-field-label}) translateY(-#{$translateY-text-field-label})
141141
translateX(-#{rhythm(0.5)});
142142
padding: 0 rhythm(1);

0 commit comments

Comments
 (0)