Skip to content

Commit

Permalink
fix(editor): show widgets outside container (#2)
Browse files Browse the repository at this point in the history
Resolves an issue where widgets and context menus were being cut off when they extended outside the
Editor's container by enabling fixedOverflowWidgets.

Refs: microsoft/monaco-editor#1203
  • Loading branch information
jboix authored Mar 28, 2024
1 parent c1a338a commit d947e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Pillarbox Theme Edito</title>
<title>Pillarbox Theme Editor</title>
<link rel="stylesheet" href="scss/index.scss"/>
<script type="module" src="./src/index.js"></script>
</head>
Expand Down
1 change: 1 addition & 0 deletions src/components/css-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ class CssEditor extends LitElement {
language: 'css',
theme: this.getTheme(),
automaticLayout: true,
fixedOverflowWidgets: true,
minimap: { enabled: false }
});

Expand Down

0 comments on commit d947e77

Please sign in to comment.