Skip to content
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: resize the image size in chat message #3462

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

vual
Copy link
Contributor

@vual vual commented Aug 13, 2024

修改聊天界面图片展示大小,1张图片时默认200宽度,2张400,3张600,最多到600,避免图片占太大位置,看聊天信息很不方便。如果要看图片,直接查看大图就可以了。

修改前:
image

修改后:
image

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

Copy link

vercel bot commented Aug 13, 2024

@vual is attempting to deploy a commit to the LobeHub Pro Team on Vercel.

A member of the Team first needs to authorize it.

@lobehubbot
Copy link
Member

👍 @vual

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@arvinxx arvinxx changed the title 修改聊天界面图片展示大小 💄 style: resize the image size in chat message Aug 13, 2024
Copy link

vercel bot commented Aug 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 13, 2024 1:00pm

Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.22%. Comparing base (b634ade) to head (ef49885).

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3462    +/-   ##
========================================
  Coverage   94.22%   94.22%            
========================================
  Files         409      409            
  Lines       25729    25729            
  Branches     2028     2753   +725     
========================================
  Hits        24243    24243            
  Misses       1486     1486            
Flag Coverage Δ
app 94.22% <ø> (ø)
server 70.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@arvinxx arvinxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for your contribution~

@arvinxx arvinxx merged commit 37c7429 into lobehub:main Aug 13, 2024
8 of 9 checks passed
github-actions bot pushed a commit that referenced this pull request Aug 13, 2024
### [Version&nbsp;1.9.8](v1.9.7...v1.9.8)
<sup>Released on **2024-08-13**</sup>

#### 💄 Styles

- **misc**: Resize the image size in chat message.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Resize the image size in chat message, closes [#3462](#3462) ([37c7429](37c7429))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.9.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Aug 13, 2024
### [Version&nbsp;1.52.7](v1.52.6...v1.52.7)
<sup>Released on **2024-08-13**</sup>

#### 💄 Styles

- **misc**: Resize the image size in chat message.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Resize the image size in chat message, closes [lobehub#3462](https://github.com/bentwnghk/lobe-chat/issues/3462) ([37c7429](37c7429))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Request] 聊天框中图片太大了
3 participants