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 pending message overlapping text #857

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

michaelchia
Copy link
Collaborator

Removed the lineHeight style for pending messages. I added the lineHeight: 0.6 when I was using the paragraph

tags to have nicer line spacing to separate multiple pending messages. However, since the change to Typography, the lineHeight: 0.6 causes overlapping when text is wrapped or has multiple lines. The default styling already provides a nice line separation and does not need to be configured further.

Screenshot of overlapping issue.
Screenshot 2024-06-22 at 6 30 36 PM

@dlqqq dlqqq added the bug Something isn't working label Jun 24, 2024
Copy link
Member

@dlqqq dlqqq left a comment

Choose a reason for hiding this comment

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

@michaelchia Thanks for catching this!

@dlqqq dlqqq enabled auto-merge (squash) June 24, 2024 21:06
@dlqqq dlqqq merged commit 2d392b7 into jupyterlab:main Jun 24, 2024
8 checks passed
@michaelchia michaelchia deleted the fix-pending-line-height branch September 4, 2024 05:49
Marchlak pushed a commit to Marchlak/jupyter-ai that referenced this pull request Oct 28, 2024
* fix pending message overlapping text

* prettier

---------

Co-authored-by: David L. Qiu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants