Skip to content

Commit

Permalink
fix(comp:input-number): buttons of inc and dec are not hidden by default
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzaijiang committed Jan 5, 2023
1 parent cb97fd0 commit 8a9c487
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/components/input-number/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,13 @@
display: inline-flex;
justify-content: center;
flex-direction: column;
opacity: 0;
transition: opacity var(--ix-transition-duration-medium) var(--ix-ease-in-out);
}

&:hover:not(.@{input-prefix}-disabled) {
.@{input-prefix}-suffix {
opacity: 1;
}
}
}

0 comments on commit 8a9c487

Please sign in to comment.