Fix #182075. Make standalone color picker overflow. (#184460)

This commit is contained in:
Peng Lyu
2023-06-07 09:19:36 +02:00
committed by GitHub
parent 0ba17fc87c
commit 33c576d86b
@@ -85,6 +85,8 @@ const CLOSE_BUTTON_WIDTH = 22;
export class StandaloneColorPickerWidget extends Disposable implements IContentWidget {
static readonly ID = 'editor.contrib.standaloneColorPickerWidget';
readonly allowEditorOverflow = true;
private body: HTMLElement = document.createElement('div');
private readonly _position: Position | undefined = undefined;