@yeeyoon/library 3.3.6 → 3.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,7 @@ const AvatarInfo = ({
24
24
  }) => {
25
25
  const CustomAvatar =
26
26
  mode === 'group' ? (
27
- <div style={{ position: 'relative' }}>
27
+ <div className={styles['user-avatar-box']}>
28
28
  <div
29
29
  className={`${blocked ? styles.blocked : styles.unDisplay} ${
30
30
  styles['user-avatar-blocked-scale']
@@ -41,9 +41,9 @@ const AvatarInfo = ({
41
41
  />
42
42
  </div>
43
43
  ) : (
44
- <span style={{ display: 'flex' }}>
44
+ <span style={{ display: 'flex', alignItems: 'center' }}>
45
45
  {icon || name || id ? (
46
- <div style={{ position: 'relative' }}>
46
+ <div className={styles['user-avatar-box']}>
47
47
  <div
48
48
  className={`${blocked ? styles.blocked : styles.unDisplay} ${
49
49
  styles['user-avatar-blocked-scale']
@@ -1,3 +1,7 @@
1
+ .user-avatar-box {
2
+ position: relative;
3
+ display: inline-block;
4
+ }
1
5
  .user-avatar-scale {
2
6
  &:hover {
3
7
  transform: scale(1.2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeeyoon/library",
3
- "version": "3.3.6",
3
+ "version": "3.3.7",
4
4
  "description": "宜云前端组件库和通用服务",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@ant-design/pro-layout": "^6.26.0",
24
24
  "@ant-design/pro-list": "^1.12.0",
25
- "antd": "^4.18.6",
25
+ "antd": "^4.10.0",
26
26
  "dva": "^2.6.0-beta.6",
27
27
  "local-storage": "^2.0.0",
28
28
  "lodash": "^4.17.21",