From d947e778c53cf477131cc69e381bdb3d511810ae Mon Sep 17 00:00:00 2001 From: Josep Boix Date: Thu, 28 Mar 2024 15:04:07 +0100 Subject: [PATCH] fix(editor): show widgets outside container (#2) Resolves an issue where widgets and context menus were being cut off when they extended outside the Editor's container by enabling fixedOverflowWidgets. Refs: https://github.com/microsoft/monaco-editor/issues/1203 --- index.html | 2 +- src/components/css-editor.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 3ae4fae..50b3161 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - Pillarbox Theme Edito + Pillarbox Theme Editor diff --git a/src/components/css-editor.js b/src/components/css-editor.js index 117fb92..76dae41 100644 --- a/src/components/css-editor.js +++ b/src/components/css-editor.js @@ -121,6 +121,7 @@ class CssEditor extends LitElement { language: 'css', theme: this.getTheme(), automaticLayout: true, + fixedOverflowWidgets: true, minimap: { enabled: false } });