Border workspace layout partial overhaul, new features and formatting
First of all, sorry for mixing multiple unrelated changes in a single pull request, here is a detailed explanation for all the changes :
1. Border workspace layout overhaul : I improved the css rules to apply border radius correctly in almost every possible tab layout when the sidebars are closed.
before vs now
<img width="400" alt="Screenshot 2024-10-28 at 13 37 17" src="https://github.com/user-attachments/assets/3a09512c-31e4-4eed-851c-a17a148f355a"><img width="400" alt="Screenshot 2024-10-28 at 13 37 38" src="https://github.com/user-attachments/assets/0b9f303e-3a43-4de5-96ec-ff06c3cfdc29">
before vs now
<img width="400" alt="Screenshot 2024-10-28 at 13 38 14" src="https://github.com/user-attachments/assets/aa6eadff-2f0b-4b0b-9d78-7391579cb4c7"><img width="400" alt="Screenshot 2024-10-28 at 13 38 37" src="https://github.com/user-attachments/assets/6f323d61-1253-4944-adef-994c9944de5b">
2. I changed all indentation in scss files to 4 spaces to keep syntax consistent across files (was not sure if it should be 2 spaces or 4 spaces, please let me know if it needs to be changed to 2 spaces)
3. I added some features :
- Corner radius setting for embeds (File Editor & Markdown Elements>Embeds>anp-embed-corner-radius)
- Math block (LaTeX) font size setting (File Editor & Markdown Elements>LaTeX>anp-latex-block-font-size)
- A setting to hide the comments completely when not editing them (already a feature of reading mode, but now it works also in live preview)
- A setting to only hide the '%%' comment indicators when not editing them (Typography>Comments)
<img width="138" alt="Screenshot 2024-10-28 at 14 13 07" src="https://github.com/user-attachments/assets/b4330523-0d99-405a-8e5d-4d24e283bf84">
合并状态:已合并 合并于 2024-11-27 关闭于 2024-11-27 5 条评论