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

fix: css on display chat names #1636

Merged
merged 1 commit into from
May 19, 2023

Conversation

yanCode
Copy link
Contributor

@yanCode yanCode commented May 19, 2023

this is a rather minor fix, but it resolves two issues in the UI of sidebar as in below snapshot:

before

  1. if the content of the title is longer than 200px, it cannot fully display, regardless how rightwards you drag the sidebar.
  2. if you narrow down the sidebar, you may find that the delete icon overlaps with the title.

the result after fix can be seen here:

after

There is a open pull request #1320 which addresses the display of title content. but in which it didn't fix the issue of 2. so I open this PR here.

To create the long chat title, I used these questions:

1. what is setTimeout in javascript?
2. how far from Beijing to Tianjin?

@yanCode
Copy link
Contributor Author

yanCode commented May 19, 2023

This fixes this bug #522

@Yidadaa Yidadaa merged commit e5329dc into ChatGPTNextWeb:main May 19, 2023
@yanCode yanCode deleted the fix/css-chat-name branch May 20, 2023 05:07
xuzhenjun130 pushed a commit to xuzhenjun130/ChatGPT-Next-Web that referenced this pull request May 31, 2023
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants