fix: nothing is drawn past the edge of the sheet
A formula wider than the text area painted over the app background instead of being cut at the page edge, where LibreOffice cuts it (thesis fixture, page 16). `overflow-x: clip` so .paper does not become a scroll box.
This commit is contained in:
1 parent
29d82ee657
commit
8c15f37490
1 file changed
+3
@@ -27,6 +27,9 @@
|
||||
Editor.svelte), which lives inside .paper so the same transform scales it
|
||||
identically to the .tiptap page background. */
|
||||
position: relative;
|
||||
/* A frame or a formula wider than the text area is cut at the sheet's edge, as it is
|
||||
in LibreOffice. `clip` rather than `hidden`: it must not become a scroll box. */
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
.paper .tiptap {
|
||||
|
||||
Reference in new issue
Block a user