docs: support data field in playground.html

This commit is contained in:
harttle
2021-06-20 21:26:16 +08:00
parent 1c64ff051e
commit f7313fe563
5 changed files with 45 additions and 21 deletions
+12 -7
View File
@@ -11,16 +11,21 @@
flex-wrap: wrap;
justify-content: space-between
margin-bottom: 30px
> div
flex: 0 0 100%
height: 400px
font-size: 1em
.col
flex: 1 1 100%
margin-bottom: 30px
@media mq-normal
.row
flex-wrap: nowrap;
> div
flex: 0 1 49%
.col:first-child
margin-right: 15px
#editorEl, #previewEl
font-size: 1em
#editorEl
height: 40vh
#dataEl
height: 28vh
margin-top: 2vh
#previewEl
height: 70vh