This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

修复input

old
宇天 2020-07-22 20:29:23 +08:00
parent b5cf3b8bb6
commit f997a68df9
1 changed files with 10 additions and 1 deletions

View File

@ -35,7 +35,6 @@ li {
min-width: 64px; min-width: 64px;
width: 100%; width: 100%;
height: 32px; height: 32px;
line-height: 0;
font-size: 14px; font-size: 14px;
border: 1px solid nth($cp, 3); border: 1px solid nth($cp, 3);
border-radius: inherit; border-radius: inherit;
@ -91,10 +90,15 @@ li {
&[append] .append { &[append] .append {
display: flex; display: flex;
} }
&[prepend] input,
&[append] input {
min-width: 64px;
}
/* ----- */ /* ----- */
.icon { .icon {
--size: 20px; --size: 20px;
padding: 0 5px; padding: 0 5px;
margin: 0 5px;
color: nth($cgr, 2); color: nth($cgr, 2);
} }
} }
@ -196,6 +200,11 @@ li {
padding: 0 10px; padding: 0 10px;
} }
.label[prepend] input,
.label[append] input {
padding: 0 5px;
}
.prepend { .prepend {
border-radius: 21px 0 0 21px; border-radius: 21px 0 0 21px;
} }