-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
💄 style: Expose tooltip
overlayStyle prop
#162
Conversation
👍 @sxjeru |
这个我建议直接改chat里的 大部分地方还是有最大宽度效果比较好 |
lobe-chat 相关代码: 要修改的属性目前没有暴露,所以不清楚怎么在 chat 那边改。 |
tooltip
default maxWidthtooltip
overlayStyle prop
❤️ Great PR @sxjeru ❤️ |
### [Version 1.142.3](v1.142.2...v1.142.3) <sup>Released on **2024-06-09**</sup> #### 💄 Styles - **misc**: Expose `tooltip` overlayStyle prop. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Expose `tooltip` overlayStyle prop, closes [#162](#162) ([23a4fa0](23a4fa0)) </details> <div align="right"> [](#readme-top) </div>
🎉 This PR is included in version 1.142.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@@ -47,7 +48,7 @@ export interface ActionIconProps extends LucideIconProps, FlexboxProps { | |||
* @description Set the loading status of ActionIcon | |||
*/ | |||
loading?: boolean; | |||
|
|||
overlayStyle?: React.CSSProperties; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个写法有问题的,不应该引入 React ,应该直接引入 CSSProperties
### [Version 1.14.3](v1.14.2...v1.14.3) <sup>Released on **2024-06-09**</sup> #### 💄 Styles - **misc**: Expose `tooltip` overlayStyle prop. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Expose `tooltip` overlayStyle prop, closes [lobehub#162](https://github.com/bentwnghk/lobe-ui/issues/162) ([23a4fa0](23a4fa0)) </details> <div align="right"> [](#readme-top) </div>
* Update index.tsx * expose tooltip overlayStyle * Update index.tsx
### [Version 1.142.3](lobehub/lobe-ui@v1.142.2...v1.142.3) <sup>Released on **2024-06-09**</sup> #### 💄 Styles - **misc**: Expose `tooltip` overlayStyle prop. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Expose `tooltip` overlayStyle prop, closes [lobehub#162](lobehub#162) ([23a4fa0](lobehub@23a4fa0)) </details> <div align="right"> [](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
由于 Antd Tooltip 默认限制宽度为 250px,导致出现以下问题。
更改后:
📝 补充信息 | Additional Information
另可考虑设置为 'none' 。