Skip to content

Commit

Permalink
vertical align icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Liu committed Dec 20, 2024
1 parent 151c5cb commit 8e90335
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion easy-ui-react/src/DatePicker/DatePicker.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
@include Input.iconEndInput;
}

.datePickerTrigger > :last-child {
top: calc(design-token("space.1-5") - design-token("shape.border_width.1"));
}

.datePickerSm .datePickerTrigger > :last-child {
top: calc(design-token("space.1") - design-token("shape.border_width.1"));
}

.errorInput {
@include Input.error;
}
Expand All @@ -42,7 +50,7 @@
pointer-events: auto;
outline: none;
position: relative;
z-index: design-token("z-index.input_icon");
z-index: 1;
}

.DateSegment {
Expand Down

0 comments on commit 8e90335

Please sign in to comment.