danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
19.41k stars 3.24k forks source link

🖌️ fix: ordered lists markers #4568

Closed danny-avila closed 1 month ago

danny-avila commented 1 month ago

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

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