messense / aliyundrive-webdav

阿里云盘 WebDAV 服务
MIT License
9.57k stars 1.09k forks source link

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

Closed yin1999 closed 3 months ago

yin1999 commented 3 months ago

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