优化icon样式

master
chenjiajian 2023-05-16 16:20:09 +08:00
parent b12df6ed69
commit 2dc42a8d4e
1 changed files with 11 additions and 0 deletions

View File

@ -124,6 +124,11 @@ class Input extends Component {
background: var(--color-plain-1); background: var(--color-plain-1);
} }
} }
.icon {
--size: 16px;
margin: 0 8px 0 4px;
color: var(--color-grey-2);
}
} }
.suggestion { .suggestion {
@ -320,6 +325,12 @@ class Input extends Component {
.icon { .icon {
--size: #{map.get($v, 'f')}; --size: #{map.get($v, 'f')};
} }
@if $s == 'xxxl' {
.icon {
--size: 22px;
margin: 0 12px 0 4px;
}
}
} }
:host([size='#{$s}'][circle]) { :host([size='#{$s}'][circle]) {
width: map.get($v, 'h'); width: map.get($v, 'h');