mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 12:17:37 +08:00
fix(components): [el-select] tag default theme (#5983)
- Fix the default theme for select tag - Fix the input padding for inputable select
This commit is contained in:
parent
0b0ad578bd
commit
1429a4e669
@ -329,7 +329,8 @@ export default defineComponent({
|
||||
type: [String, Object] as PropType<string | Component>,
|
||||
default: ArrowUp,
|
||||
},
|
||||
tagType: tagProps.type,
|
||||
// eslint-disable-next-line vue/require-prop-types
|
||||
tagType: { ...tagProps.type, default: 'info' },
|
||||
},
|
||||
emits: [
|
||||
UPDATE_MODEL_EVENT,
|
||||
|
@ -50,7 +50,7 @@ export function useSelectStates(props) {
|
||||
menuVisibleOnFocus: false,
|
||||
isOnComposition: false,
|
||||
isSilentBlur: false,
|
||||
prefixWidth: 0,
|
||||
prefixWidth: 11,
|
||||
tagInMultiLine: false,
|
||||
})
|
||||
}
|
||||
|
@ -148,7 +148,7 @@
|
||||
.#{$namespace}-tag {
|
||||
box-sizing: border-box;
|
||||
border-color: transparent;
|
||||
margin: 2px 0 2px 6px;
|
||||
margin: 2px 6px 2px 0;
|
||||
|
||||
.#{$namespace}-icon-close {
|
||||
background-color: var(--el-text-color-placeholder);
|
||||
|
Loading…
Reference in New Issue
Block a user