Commit 6509bedf authored by 刘安琪's avatar 刘安琪

完善有前后按钮的input

parent 8440c8dc
...@@ -286,10 +286,8 @@ ...@@ -286,10 +286,8 @@
position: relative; position: relative;
border: $--border-base; border: $--border-base;
border-radius: $--input-border-radius; border-radius: $--input-border-radius;
padding: 0 8px;
width: 1px; width: 1px;
white-space: nowrap; white-space: nowrap;
font-size: 12px;
&:focus { &:focus {
outline: none; outline: none;
...@@ -320,12 +318,15 @@ ...@@ -320,12 +318,15 @@
border-right: 0; border-right: 0;
border-top-right-radius: 0; border-top-right-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
padding: 0 8px;
font-size: 12px;
} }
@include e(append) { @include e(append) {
border-left: 0; border-left: 0;
border-top-left-radius: 0; border-top-left-radius: 0;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
padding: 0 16px;
&:hover{ &:hover{
border-color: $--color-primary-hover; border-color: $--color-primary-hover;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment