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

refactor(backend): allow to warp the token #975

Merged
merged 2 commits into from
Apr 15, 2024
Merged

refactor(backend): allow to warp the token #975

merged 2 commits into from
Apr 15, 2024

Conversation

yin1999
Copy link
Contributor

@yin1999 yin1999 commented Apr 12, 2024

Reference doc: https://discuss.streamlit.io/t/st-code-on-multiple-lines/50511

Add CSS style to allow the code to be wrapped, this enables directly previewing the entire token and makes it easier to copy because the copy button will not be mixed with the token string.

Used CSS properties:

Tests

The token is randomly generated (the length of it is the same as the token generated by aliyundrive API)

Before

截图_2024-04-12_20-56-17

After

截图_2024-04-12_20-52-31

@messense messense merged commit 23d1674 into messense:main Apr 15, 2024
32 checks passed
@yin1999 yin1999 deleted the wrap-token branch April 15, 2024 08:12
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.

2 participants