mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Add position stylingto playground container to equal 'relative'
This commit is contained in:
parent
a5298e13bb
commit
98674ca321
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@
|
||||||
|
|
||||||
playgroundContainer.style.width = WIDTH + 'px';
|
playgroundContainer.style.width = WIDTH + 'px';
|
||||||
playgroundContainer.style.height = HEIGHT - FOOTER_HEIGHT + 'px';
|
playgroundContainer.style.height = HEIGHT - FOOTER_HEIGHT + 'px';
|
||||||
|
playgroundContainer.style.position = 'relative';
|
||||||
|
|
||||||
sampleSwitcher.style.position = 'absolute';
|
sampleSwitcher.style.position = 'absolute';
|
||||||
sampleSwitcher.style.top = TITLE_HEIGHT + 'px';
|
sampleSwitcher.style.top = TITLE_HEIGHT + 'px';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue