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 ordered lists markers styling #4546

Closed
wants to merge 2 commits into from

Conversation

thingersoft
Copy link
Contributor

@thingersoft thingersoft commented Oct 25, 2024

Summary

Removed ::marker pseudo-element css content definitions to let browser generate appropriates list item markers.
Also gave a little more room for markers to show because of Webkit slightly different text positioning.
Resolves #4120, resolves #4472.

Change Type

  • Bug fix (non-breaking change which fixes an issue)

Testing

Open LibreChat in Safari and prompt any model to return an ordered list with more than 9 items.
Check that markers with 2 or more digits are shown correctly.

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • My changes do not introduce new warnings
  • Local unit tests pass with my changes

@thingersoft thingersoft marked this pull request as draft October 25, 2024 15:05
@thingersoft thingersoft marked this pull request as ready for review October 25, 2024 16:01
@danny-avila
Copy link
Owner

Thanks, I made some minor changes and pushed them to a new PR along with your original commits #4568

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.

Enhancement: Support Numbered Lists [Bug]: Numbered Lists are cut off (Tested on iPad and mobile)
2 participants