소스 검색

Add position stylingto playground container to equal 'relative'

jozebel11 2 년 전
부모
커밋
98674ca321
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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';