Fix formulas causing a scroll instead of breaking#145
Fix formulas causing a scroll instead of breaking#145MoinJulian wants to merge 5 commits intoScriptRaccoon:mainfrom
Conversation
|
This is now basically the same functionality as the current deployed version |
|
The formulas still break. Also, there is a big redundant scrollbar now, also in the wrong direction ( But scrolling should be the exception; details here. Screenshot from http://localhost:5173/category/walking_splitting: The solution will not be straight forward, otherwise I would have already added the few lines of CSS. ;-) |
|
I will have another look at it tomorrow. I tried only breaking it at the = but that doesn't work because it isn't a distinct element and just part of the bin operators. Just for clarification it should only allow breaking on = but in the best case always stay together in one line? |
feat: integrate DOMPurify for HTML sanitization across components
|
Let's address the XSS in a different PR, i.e. please remove 6ae3514 from this PR. (And please check out my comment at #146 before working on this.)
Yes. Maybe other relation symbols are also OK, like |
|
Do you plan to continue working on this? |

This pull request focuses on improving the display and styling of popup components and mathematical content in the application. The main changes are related to the structure and appearance of the popup's HTML content and better handling of line breaks in rendered math.
Popup component improvements:
<div class="html">to provide a dedicated styling hook and improve structure..htmlto enable vertical scrolling when the content overflows, ensuring better usability for long popups.Math rendering enhancements:
.katex-breakCSS class to allow proper line breaks and inline display for math elements, improving the readability of mathematical content.