Commit b30270a3fbec1d117d3a9c75bcd73d67355c3a30
Committed by
GitHub
1 parent
cb64e5d2
fix: 修复部分图标未居中的问题 (#2917)
Showing
4 changed files
with
10 additions
and
3 deletions
src/design/ant/index.less
src/layouts/default/header/components/notify/index.vue
... | ... | @@ -66,7 +66,7 @@ |
66 | 66 | @prefix-cls: ~'@{namespace}-header-notify'; |
67 | 67 | |
68 | 68 | .@{prefix-cls} { |
69 | - padding-top: 2px; | |
69 | + padding-bottom: 1px; | |
70 | 70 | |
71 | 71 | &__overlay { |
72 | 72 | max-width: 360px; |
... | ... | @@ -77,6 +77,8 @@ |
77 | 77 | } |
78 | 78 | |
79 | 79 | .ant-badge { |
80 | + display: flex; | |
81 | + align-items: center; | |
80 | 82 | font-size: 18px; |
81 | 83 | |
82 | 84 | .ant-badge-multiple-words { | ... | ... |
src/layouts/default/header/index.less