From 3f6c3b69a6bd2e010fe17324214dc6edc3f5942e Mon Sep 17 00:00:00 2001 From: Oleh Omelchenko Date: Tue, 9 Dec 2025 23:28:36 +0200 Subject: [PATCH] feat: Add preview fit mode for height and utilize Vega-Lite's 'container' keyword for dynamic sizing. --- index.html | 22 +++++++++----- src/js/config.js | 2 +- src/js/editor.js | 79 +++++++++++++++++++++++------------------------- 3 files changed, 53 insertions(+), 50 deletions(-) diff --git a/index.html b/index.html index b4b89ad..9c21ce1 100644 --- a/index.html +++ b/index.html @@ -233,6 +233,10 @@ @click="$store.preview.fitMode = 'width'; setPreviewFitMode('width')" id="preview-fit-width" title="Scale to fit preview pane width (⚠️ for faceted specs, applies to each facet)">Width +