Skip to content

Commit

Permalink
fix(comp:input-number): buttons of inc and dec are not hidden by defa…
Browse files Browse the repository at this point in the history
…ult (#1385)
  • Loading branch information
liuzaijiang committed Jan 6, 2023
1 parent e71cd46 commit b77fac6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/components/input-number/style/index.less
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 b77fac6

Please sign in to comment.