Attachment preview: Fix cut-off snapshots
Also: - Prevent selecting any text within the snapshot
This commit is contained in:
parent
832a6f3eff
commit
b8f2aaafa9
1 changed files with 6 additions and 1 deletions
|
@ -1290,11 +1290,16 @@ class ReaderPreview extends ReaderInstance {
|
|||
`,
|
||||
snapshot: `
|
||||
html {
|
||||
pointer-events: none;
|
||||
pointer-events: none !important;
|
||||
user-select: none !important;
|
||||
min-width: 1024px;
|
||||
transform: scale(var(--win-scale));
|
||||
transform-origin: 0 0;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow-y: visible;
|
||||
}`
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue