Skip to content

Commit

Permalink
fix(style): update InputButton styles (#1511)
Browse files Browse the repository at this point in the history
Co-authored-by: Zhang Rui <zhangrui@growingio.com>
  • Loading branch information
Ryan Zhang and Zhang Rui committed Nov 23, 2021
1 parent 23b07de commit 9f8af23
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/input/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
display: inline-flex;
box-sizing: border-box;
height: 36px;
padding: 0 8px;
padding: 0 12px;
border-radius: 4px;
.border();
.text-body1();

& > input {
width: 100%;
Expand All @@ -23,6 +22,8 @@
border: none;
font-family+: @font-family-primary;
font-family+: @font-family-number;
.text-body1();

&:not([disabled]):hover,
&:not([disabled]):focus {
border: none;
Expand Down Expand Up @@ -78,7 +79,7 @@
display: inline-flex;
align-items: center;
justify-content: center;
margin: 0 4px;
margin-left: 8px;

.@{icon-prefix-cls} {
cursor: pointer;
Expand All @@ -94,7 +95,7 @@
display: inline-flex;
align-items: center;
justify-content: center;
margin: 0 4px;
margin-right: 8px;

.@{icon-prefix-cls} {
cursor: pointer;
Expand Down

1 comment on commit 9f8af23

@vercel
Copy link

@vercel vercel bot commented on 9f8af23 Nov 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.