Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lukasmasuch
Copy link
Collaborator

@lukasmasuch lukasmasuch commented Mar 14, 2025

Describe your changes

Our old font property allowed configuring the font family to sans serif. This isn't a valid CSS font family, but we still want to support it for backwards compatibility reasons. This PR fixes the mapping that we apply to map to our font family we defined for sans-serif.

GitHub Issue Link (if applicable)

Testing Plan

  • Added unit test to cover this.

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 14, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-10789/streamlit-1.43.2-py3-none-any.whl
☁️ Deploy app Deploy on Community Cloud
🕹️ View app pr-10789.streamlit.app

@lukasmasuch lukasmasuch added security-assessment-completed Security assessment has been completed for PR change:bugfix PR contains bug fix implementation impact:users PR changes affect end users labels Mar 14, 2025
@lukasmasuch lukasmasuch marked this pull request as ready for review March 14, 2025 17:03
@lukasmasuch lukasmasuch enabled auto-merge (squash) March 14, 2025 17:16
@lukasmasuch lukasmasuch merged commit a7e29e4 into develop Mar 14, 2025
35 checks passed
@lukasmasuch lukasmasuch deleted the fix/issue-with-sans-serif-usage branch March 14, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:bugfix PR contains bug fix implementation impact:users PR changes affect end users security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

font "sans serif" no longer working

4 participants