fix: fixed width independent of the viewport
This commit is contained in:
1 parent
87be83efd3
commit
0147da6e03
1 file changed
+2
-5
@@ -1,16 +1,13 @@
|
||||
.editor {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 2rem 1rem 3rem; /* extra bottom padding clears the fixed status bar */
|
||||
overflow-y: auto;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* Fixed A4 paper container (794px = 210mm at 96dpi) */
|
||||
.paper {
|
||||
width: 794px;
|
||||
max-width: calc(100vw - 2rem);
|
||||
flex-shrink: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.paper .tiptap {
|
||||
|
||||
Reference in new issue
Block a user