Skip to content

Conversation

@emmagarr
Copy link
Contributor

@emmagarr emmagarr commented Oct 22, 2024

Describe your changes

I edited the Markdown.tsx file to center-justify any st-emotion-cache containers within a markdown container. The st-emotion-containers are set to flex display, so center-align doesn't fix the issue.

GitHub Issue Link (if applicable)

Close #9682

Testing Plan

Manual tests on frontend


Contribution License Agreement

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

@kajarenc
Copy link
Collaborator

Hello @emmagarr thank you for opening this PR!

I changed the implementation slightly to be more aligned with our way of adding styles, but it effectively solves the same problem.

Let's wait for an internal review, I hope this PR will be merged!

@kajarenc kajarenc added security-assessment-completed Security assessment has been completed for PR impact:internal PR changes only affect internal code change:bugfix PR contains bug fix implementation labels Oct 28, 2024
@kajarenc kajarenc marked this pull request as ready for review October 28, 2024 15:31
@kajarenc kajarenc merged commit a425eec into streamlit:develop Oct 29, 2024
edegp pushed a commit to edegp/streamlit that referenced this pull request Jan 19, 2025
…#9698)

## Describe your changes

## GitHub Issue Link (if applicable)
Close streamlit#9682

## Testing Plan
Manual tests on frontend

---

**Contribution License Agreement**

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

---------

Co-authored-by: Karen Javadyan <[email protected]>
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:internal PR changes only affect internal code security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

st.latex with help tooltip is left aligned instead of center aligned

4 participants