Pārlūkot izejas kodu

Merge pull request #3446 from Jozebel11/main

Add position styling to playground container to equal 'relative'
Henning Dieterichs 2 gadi atpakaļ
vecāks
revīzija
e85d06aa9b
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      website/playground/playground.js

+ 1 - 0
website/playground/playground.js

@@ -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';