Commit b30270a3fbec1d117d3a9c75bcd73d67355c3a30

Authored by 明修
Committed by GitHub
1 parent cb64e5d2

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

src/design/ant/index.less
... ... @@ -8,7 +8,7 @@
8 8 }
9 9 }
10 10  
11   -span.anticon:not(.app-iconify) {
  11 +span.anticon:not(.app-iconify, .anticon-vertical-align-top, .anticon-bell) {
12 12 vertical-align: 0.125em !important;
13 13 }
14 14  
... ...
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
... ... @@ -120,7 +120,7 @@
120 120 }
121 121  
122 122 .ant-badge-dot {
123   - top: 10px;
  123 + top: 14px;
124 124 right: 2px;
125 125 }
126 126 }
... ...
src/layouts/default/tabs/components/TabRedo.vue
... ... @@ -31,3 +31,8 @@
31 31 },
32 32 });
33 33 </script>
  34 +<style lang="less" scoped>
  35 + span.anticon-redo {
  36 + vertical-align: baseline !important;
  37 + }
  38 +</style>
... ...