Skip to content

Commit

Permalink
fix(date-picker): firefox placeholder, small icon styles (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
nowseemee authored Oct 28, 2021
1 parent 29a3a8b commit a95fdd9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ duet-date-picker .duet-date__toggle:active scale-icon-content-calendar {

duet-date-picker .duet-date__input::placeholder {
visibility: hidden;
color: transparent;
transition: all var(--scl-motion-duration-fast)
var(--scl-motion-easing-standard);
}
Expand Down Expand Up @@ -146,6 +147,7 @@ duet-date-picker .duet-date__input:focus::placeholder {
.scale-date-picker--status-error .date-picker__helper-text {
color: var(--scl-color-text-error);
}

.scale-date-picker--status-error .duet-date__toggle {
height: 44px;
margin-top: var(--scl-spacing-1);
Expand Down Expand Up @@ -185,6 +187,11 @@ duet-date-picker .duet-date__input:focus::placeholder {
font-weight: var(--scl-font-weight-medium);
}

.scale-date-picker--size-small.scale-date-picker--status-error
.duet-date__toggle {
height: 36px;
}

/* Disabled */

.scale-date-picker.scale-date-picker--disabled,
Expand Down

0 comments on commit a95fdd9

Please sign in to comment.