fix: 修复部分图标未居中的问题 (#2917)

This commit is contained in:
明修
2023-07-20 14:44:22 +08:00
committed by GitHub
parent cb64e5d24c
commit b30270a3fb
4 changed files with 10 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
}
}
span.anticon:not(.app-iconify) {
span.anticon:not(.app-iconify, .anticon-vertical-align-top, .anticon-bell) {
vertical-align: 0.125em !important;
}

View File

@@ -66,7 +66,7 @@
@prefix-cls: ~'@{namespace}-header-notify';
.@{prefix-cls} {
padding-top: 2px;
padding-bottom: 1px;
&__overlay {
max-width: 360px;
@@ -77,6 +77,8 @@
}
.ant-badge {
display: flex;
align-items: center;
font-size: 18px;
.ant-badge-multiple-words {

View File

@@ -120,7 +120,7 @@
}
.ant-badge-dot {
top: 10px;
top: 14px;
right: 2px;
}
}

View File

@@ -31,3 +31,8 @@
},
});
</script>
<style lang="less" scoped>
span.anticon-redo {
vertical-align: baseline !important;
}
</style>