::v-deep usage as a combinator has been deprecated. Use ::v-deep(<inner-selector>) instead

This commit is contained in:
chuzhixin 2020-10-28 09:52:24 +08:00
parent cb41ab4f8a
commit fee0775a0d

View File

@ -91,28 +91,26 @@
} }
</script> </script>
<style lang="less" scoped> <style lang="less">
.icon-container { .icon-container {
::v-deep { .ant-input-search,
.ant-input-search, .ant-alert {
.ant-alert { margin-bottom: @vab-padding;
margin-bottom: @vab-padding; }
} .ant-card-body {
.ant-card-body { position: relative;
position: relative; display: flex;
display: flex; flex-direction: column;
flex-direction: column; align-items: center;
align-items: center; justify-content: center;
justify-content: center; height: 68px;
height: 68px; cursor: pointer;
cursor: pointer;
i { i {
font-size: 28px; font-size: 28px;
text-align: center; text-align: center;
pointer-events: none; pointer-events: none;
cursor: pointer; cursor: pointer;
}
} }
} }