@lobehub/ui 2.11.0 → 2.11.2

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.
@@ -125,7 +125,7 @@ var ChatItem = /*#__PURE__*/memo(function (_ref) {
125
125
  placement: placement,
126
126
  size: mobile ? MOBILE_AVATAR_SIZE : undefined,
127
127
  style: _objectSpread({
128
- marginTop: 6
128
+ marginTop: showTitle ? -12 : 6
129
129
  }, avatarProps === null || avatarProps === void 0 ? void 0 : avatarProps.style)
130
130
  })), /*#__PURE__*/_jsxs(Flexbox, {
131
131
  align: placement === 'left' ? 'flex-start' : 'flex-end',
@@ -17,6 +17,7 @@ var Title = /*#__PURE__*/memo(function (_ref) {
17
17
  }),
18
18
  styles = _useStyles.styles;
19
19
  return /*#__PURE__*/_jsxs(Flexbox, {
20
+ align: 'center',
20
21
  className: styles.name,
21
22
  direction: placement === 'left' ? 'horizontal' : 'horizontal-reverse',
22
23
  gap: 4,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "2.11.0",
3
+ "version": "2.11.2",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",