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 #4568

Merged
merged 4 commits into from
Oct 28, 2024
Merged

🖌️ fix: ordered lists markers #4568

merged 4 commits into from
Oct 28, 2024

Conversation

danny-avila
Copy link
Owner

@danny-avila danny-avila commented Oct 28, 2024

Summary

Originally #4546

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.

Closes #4120, #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

@danny-avila danny-avila linked an issue Oct 28, 2024 that may be closed by this pull request
1 task
@danny-avila danny-avila merged commit e0222d4 into main Oct 28, 2024
2 checks passed
@danny-avila danny-avila deleted the fix/css-lists branch October 28, 2024 19:56
owengo pushed a commit to openwengo/LibreChat that referenced this pull request Oct 30, 2024
* fix ordered lists markers styling

* cleanup

* refactor: additional padding for 3-digit markers

* Refactor CSS to remove extra spacing in lists

---------

Co-authored-by: Thingersoft <[email protected]>
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