Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 41fc636

Browse files
committed
fix for screenshot cropping wskflow when in zoom to fit
Fixes #856
1 parent 4f5c77f commit 41fc636

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/plugins/ui/commands/screenshot.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ const squishers = {
6969
{ selector: 'main', property: 'align-items', value: 'flex-start' },
7070
{ selector: '#sidecar', property: 'height', value: 'initial' },
7171
{ selector: 'sidecar .custom-content', property: 'flex', value: 'initial' },
72-
{ selector: 'sidecar .sidecar-content', property: 'flex', value: 'initial' }
72+
{ selector: 'sidecar .sidecar-content', property: 'flex', value: 'initial' },
73+
{ selector: '#wskflowDiv', property: 'height', value: 'auto' }
7374
],
7475

7576
// screenshot full and repl should remove the last command from the screenshot, so that "screenshot full" doesn't show

0 commit comments

Comments
 (0)