【更新】优化一些前端警告

This commit is contained in:
小诺 2022-11-04 20:26:11 +08:00 committed by 俞宝山
parent 362b538bae
commit e1efbab2dc

View File

@ -207,21 +207,24 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
/deep/ .ant-input { :deep(.ant-input){
height: 35px; height: 35px;
} }
/deep/ .ant-input:not(:first-child) { :deep(.ant-input:not(:first-child)){
padding-left: 10px; padding-left: 10px;
} }
/deep/ .ant-input-prefix { :deep(.ant-input-prefix){
font-size: 20px; font-size: 20px;
} }
/deep/ .ant-list-sm .ant-list-item { :deep(.ant-list-sm .ant-list-item){
padding: 4px 16px; padding: 4px 16px;
} }
/deep/ .ant-list-item-meta { :deep(.ant-list-item-meta){
align-items: center; align-items: center;
} }
:deep(.ant-list-item.active){
background-color: var(--primary-1);
}
.search-box { .search-box {
width: 100%; width: 100%;
} }
@ -249,9 +252,6 @@
overflow: hidden; overflow: hidden;
overflow-y: scroll; overflow-y: scroll;
} }
/deep/ .ant-list-item.active {
background-color: var(--primary-1);
}
.search-tips { .search-tips {
display: flex; display: flex;
border-top: 1px solid var(--component-background); border-top: 1px solid var(--component-background);