Explorar o código

Add position stylingto playground container to equal 'relative'

jozebel11 %!s(int64=2) %!d(string=hai) anos
pai
achega
98674ca321
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      website/playground/playground.js

+ 1 - 0
website/playground/playground.js

@@ -65,6 +65,7 @@
 
 			playgroundContainer.style.width = WIDTH + 'px';
 			playgroundContainer.style.height = HEIGHT - FOOTER_HEIGHT + 'px';
+			playgroundContainer.style.position = 'relative';
 
 			sampleSwitcher.style.position = 'absolute';
 			sampleSwitcher.style.top = TITLE_HEIGHT + 'px';