mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 22:40:48 -07:00
fix(docs): align playground GIF capture with live editor styling
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 59 KiB |
Vendored
+4
-1
@@ -95,11 +95,14 @@
|
|||||||
fontFamily: '"Source Code Pro", ui-monospace, Monaco, Menlo, Consolas, monospace',
|
fontFamily: '"Source Code Pro", ui-monospace, Monaco, Menlo, Consolas, monospace',
|
||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
showPrintMargin: false,
|
showPrintMargin: false,
|
||||||
|
showGutter: false,
|
||||||
|
highlightActiveLine: false,
|
||||||
tabSize: 2,
|
tabSize: 2,
|
||||||
useSoftTabs: true,
|
useSoftTabs: true,
|
||||||
scrollPastEnd: 0.25
|
scrollPastEnd: 0
|
||||||
});
|
});
|
||||||
editor.getSession().setMode('ace/mode/' + lang);
|
editor.getSession().setMode('ace/mode/' + lang);
|
||||||
|
editor.renderer.setShowGutter(false);
|
||||||
editor.renderer.setScrollMargin(8, 8, 0, 0);
|
editor.renderer.setScrollMargin(8, 8, 0, 0);
|
||||||
bindClipboard(editor);
|
bindClipboard(editor);
|
||||||
return editor;
|
return editor;
|
||||||
|
|||||||
Reference in New Issue
Block a user